Jelly Learning: The build of the iOS push certificate (password settings in the process, remember the password)

Source: Internet
Author: User

1. Create a new app ID
2. Create a push.certsigningrequest in the keychain
3. Generate a Certificate (push) with app ID and push.certsigningrequest , then export the Certificate build PUSH.P12 in the keychain
4. Generate a provisioning profile with app ID
5. Open the terminal:

$ OpenSSL x509-in aps_development.cer-inform der-outform pem-out Pushchatcert.pem
$ OpenSSL pkcs12-nocerts-out pushchatkey.pem-in PUSH.P12
$ cat Pushchatcert.pem Pushchatkey.pem > Ck.pem
To test whether the certificate is working, execute the following command: (press CTRL + C to close the connection)
$ telnet gateway.sandbox.push.apple.com 2195
$ OpenSSL s_client-connect gateway.sandbox.push.apple.com:2195 -cert pushchatcert.pem-key PushChatKey.pem
Finally, just pass your generated CK.PEM file to the server developer.

Resources:

http://zxs19861202.iteye.com/blog/1532460

http://www.tairan.com/archives/194

Jelly Learning: The build of the iOS push certificate (password settings in the process, remember the password)

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.