openssl x509 -in idp.flowtreasure.cer -inform der -out PushChatCert.pem
openssl pkcs12 -nocerts -out PushChatKey.pem -in flowtreasure.idp.pro.p12
输入三次密码
cat PushChatCert.pem PushChatKey.pem > ck.pem
openssl pkcs12 -nocerts -out PushChatKey.pem -in flowtreasure.idp.pro.p12
输入三次密码
cat PushChatCert.pem PushChatKey.pem > ck.pem
验证是否有效
openssl s_client -connect gateway.sandbox.push.apple.com:2195 -cert PushChatCert.pem -key PushChatKey.pem