iOS推送通知证书生成

Develop证书不是push证书(生产PushChatKey.p12) 密码都输一样的icld


cd /Users/yrx/Desktop


openssl x509 -in aps_development.cer -inform DER -out aps_developer_identity.pem -outform PEM


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



openssl pkcs12 -export -in aps_developer_identity.pem -inkey PushChat_Noenc.pem -name "aps_developer_identity" -out aps_developer_identity.p12



production


openssl x509 -in aps.cer -inform DER -out aps_identity.pem -outform PEM



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


openssl pkcs12 -export -in aps_identity.pem -inkey PushChat_Noenc.pem -name "aps_identity" -out aps_identity.p12

你可能感兴趣的:(iOS推送通知证书生成)