IOS Push certificate maker (java/php)

Source: Internet
Author: User
Tags openssl x509 php server pkcs12

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:
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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.