美文网首页
iOS推送证书生成步骤

iOS推送证书生成步骤

作者: liull | 来源:发表于2015-07-04 23:51 被阅读0次

* 把.cer的SSL证书转换为.pem文件,执行命令:

openssl x509 -in aps_development.cer -inform der -out PushChatCert.pem

* 把私钥Push.p12文件转化为.pem文件:

openssl pkcs12 -nocerts -out PushChatKey.pem -in Push.p12

需要输入证书的密码

* 将密钥转换成不需要密码就可以使用的:

openssl rsa -in PushChatKey.pem -out PushChatKeyNoPassword.pem

相关文章

网友评论

      本文标题:iOS推送证书生成步骤

      本文链接:https://www.haomeiwen.com/subject/xfeyqttx.html