Apple Push Notifications, how do I properly export my cert?

后端 未结 1 1360
孤独总比滥情好
孤独总比滥情好 2020-12-13 16:10

I can\'t seem to figure out how to properly export my cert for use in my iOS app with push notifications. I\'m using the following cert, downloaded from the Certific

相关标签:
1条回答
  • 2020-12-13 16:41

    (1) First you need to set the configuration for your app ID to enable push notification service. You can check in the image. enter image description here

    (2) Then You can install the certificate and intall in your keychain in your machine. enter image description here

    (3) Here you are exporting two files. Instead of that you just need to export the private key as shown in the screenshot. enter image description here

    (4) Now you can export the private key and store with any name you want in .p12 format as shown in the screenshot below. enter image description here

    (5) Then follows all other steps as you know very well like you mentioned above.

    openssl pkcs12 -in CertificateName.p12 -out CertificateName.pem -nodes
    

    Please let me know if you still have any question or if you are not able to solve then let me know.

    0 讨论(0)
提交回复
热议问题