How To Create .pem File for APNS - iOS.

In The previous tutorial you are already study about create the AppID and Create the Certificate in iOS. Here We are providing the tutorial about create .pem file for APNS in iOS.

Step 1 : Create the certificate with keychain. How To Create Certificate. After download the certificate and double click to install in keychain.

Step 2 : Create AppID With name of  com.iosDev.PushTest. How To Create AppID (Bundle).

 Note : Here you are Enable for Push Notification.

Step 3 : Create Provisional profile of Development , So that user can check it in device at runtime. How To Create Provisional profile. After download the development certificate double Click and install.

Step 4 : Go to KeyChain, There are display certificate which is you already installed. The certificate start with "Apple Development iOS Push Services" that followed by bundle Id like com.iosDev.PushTest.

Step 5 : Right click on "Apple Development iOS Push Services" and export it. and Save the apns-dev-cert.p12 file.



Step 6 : Open the terminal and go to the path where you save the apns-dev-cert.p12. where and follow the below command to generate the .PEM file.

openssl pkcs12 -in apns-dev-cert.p12 -out apns-dev-cert.pem -nodes -clcerts
Thanks.
How To Create .pem File for APNS - iOS. How To Create .pem File for APNS - iOS. Reviewed by KIRIT MODI on 22:42:00 Rating: 5

No comments:

Powered by Blogger.