You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Select your app bundle, scroll down and click "Edit." This will bring you to a page that will allow you to setup and configure services for your app. Scroll down until you see the service labeled “Push Notifications.” Depending on whether you’re creating a Development or Production certificate, click the appropriate “Create Certificate” button.
Follow the instructions to create a Certificate Signing Request, click "Continue," upload the CSR, and download the resulting .cer file.
Then open your .cer with Keychain Access, either by double-clicking it or by dragging it into the Keychain window. Then use the left-hand panel to navigate to “My Certificates” and locate the certificate you just added. (It could have been added to “Certificates” as well.)
Converting your .cer into a .p12
Open up Keychain Access and select the Certificates category in the sidebar.
Expand the disclosure arrow next to the iOS Push Services certificate you want to export.
Select both the certificate and private key.
Right click and select Export 2 items....
Save the file as cert.p12, make sure the File Format is Personal Information Exchange (p12).
Converting your .p12 into a .pem
Convert the .p12 certificate to a .pem, where <environment> should be development or production, depending on the certificate you exported.