P12 Certificate Authoring method for IOS push

Source: Internet
Author: User
Tags openssl x509 pkcs12 ssl certificate

1. Generate a certificatesigningrequest.certsigningrequest file with keychain


2. Create a new AppID and download the corresponding certificate


3. Double-click SSL for the certificate such as: Aps_development.cer


4. In the keychain, expand the Aps_development.cer installed certificate, export the private key (export format is P12)


5. Turn the downloaded SSL certificate aps_development.cer into PEM format and command:


OpenSSL x509-in aps_production.cer-inform der-out aps_production.pem-outform PEM


6. Convert the exported P12 format key to PEM, command


OpenSSL pkcs12-nocerts-out o2o_key_dev.pem-in O2O_KEY_DEV.P12


7. Generate the PEM in 5 and 6 in the Pem two files and 1 in the exported file, altogether three files, together packaged into the final p12 file, command


OpenSSL pkcs12-export-in Aps_production.pem-inkey o2o_key_dev.pem-certfile Certificatesigningrequest.certsigningrequest-name Aps_o2o_dis-out APS_O2O_DIS.P12



Note: If you need to export the appropriate certificate to a colleague, only need to export the certificate installed on the computer installed on the P12 file and authorization file to colleagues can be, not export private key, and the above 4 is different, remember to note, and if you need to let your colleague through the publishing certificate you give to export IPA, He needs to enter the developer account and password.

P12 Certificate Authoring method for IOS push

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: info-contact@alibabacloud.com 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.