I created files for creating and producing pem. I have completed the following steps:
1) developer.apple.com: checking the AppIDs section Package ID supports SSL development certificate; if not, create this certificate (which supports APNS)
2) open keychain
3) Right-click on our certificate and export certificate.
4) you will get the .p12 file from here: like: hope_APNS.p12
5) open a console (terminal) and run the following command (use the created .p12 file here) openssl pkcs12 -in apns-dev-cert.p12 -out apns-dev-cert.pem -nodes -clcerts
6) you will get a .pem file for it. (e.g. hope_APNS.pem)
The pem development file is working fine. But there are some in the pem production file. When I install the production pem file and send a push notification from the console. I will not click on my device.
source share