Develop證書不是push證書(生產(chǎn)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