iOS

iOS推送通知证书生成

2019-07-05  本文已影响0人  梦随兴飞

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

上一篇下一篇

猜你喜欢

热点阅读