// aps_development.cer 转化成pem openssl x509 -in aps_development.cer -inform der -out PushChatCert.pem // p12 转化成pem openssl pkcs12 -nocerts -out PushChatKey.pem -in Push.p12 // Java服务器所需的证书为p12格式 openssl pkcs12 -export -in PushChatCert.pem -inkey PushChatKey.pem -out Weather.p12 -name "apns-cert" // PHP服务器所需证书为pem格式 cat PushChatCert.pem PushChatKey.pem > pushCert.pem
iOS 推送证书制作 (JAVA/PHP),布布扣,bubuko.com
原文:http://www.cnblogs.com/joesen/p/3904176.html