1.aps_developer_identity.cer 轉 pem
$openssl x509 -in aps_developer_identity.cer -inform der -out PushChatCert.pem
2.Apple Development Push Services 轉 pem
$openssl pkcs12 -nocerts -out PushChatKey.pem -in Push.p12
3.合成
1)JAVA
$openssl pkcs12 -export -in PushChatCert.pem -inkey PushChatKey.pem -out pushCert.p12 -name “apns-cert”
2)PHP
$cat PushChatCert.pem PushChatKey.pem > pushCert.pem
#ios
#push
沒有留言:
張貼留言