IOS Push certificate maker (java/php)
When you use Java or PHP to make an iOS push server, you need to synthesize it yourself from the aps_developer_identity certificate and Apple Development Push services certificate that you exported on the developer's website. Generate a P12 certificate that can be used by Java or a PEM certificate for use with PHP.
The aps_developer_identity certificate and the Apple Development Push Services certificate application process can be consulted:
Http://www.cnblogs.com/hubj/archive/2012/06/14/2549816.html
This article focuses on how to synthesize certificates
1. Convert Aps_developer_identity.cer to PEM
OpenSSL x509-in aps_developer_identity.cer-inform der-out Pushchatcert.pem
2. Convert Apple Development Push Services certificate to PEM
OpenSSL pkcs12-nocerts-out pushchatkey.pem-in PUSH.P12
3. Synthesis of two PEM certificates
1) The required certificate for the Java server is P12 format
OpenSSL pkcs12-export-in pushchatcert.pem-inkey pushchatkey.pem-out pushcert.p12-name "Apns-cert"
2) The PHP server requires a certificate in PEM format
Cat Pushchatcert.pem Pushchatkey.pem > Pushcert.pem
PHP Server Push Code
IOS Push certificate maker (java/php)