Apple: Generating a Push Certificate (Instead of an API Key)
Step 1: Create a Certificate Signing Request (if you don’t have one already)
- In the Applications folder on your Mac, open the Utilities folder and launch Keychain Access.
- Within the Keychain Access drop down menu, select Keychain Access > Certificate Assistant > Request a Certificate from a Certificate Authority.
- In the Certificate Information window, enter the following information:
- In the User Email Address field, enter your email address.
- In the Common Name field, create a name for your private key (e.g., John Doe Dev Key).
- The CA Email Address field should be left empty.
- In the "Request is" group, select the "Saved to disk" option.
- Click Continue within Keychain Access to complete the CSR generating process.
Step 2: Create an Apple Push Notification service SSL (Sandbox & Production) .p12
- Log into https://developer.apple.com/
- Go to “Account” in the top right corner
- In the “Certificates, IDs & Profiles” module, go to “Identifiers”
- Find and select your App name with the correct identifier/bundle ID
- Scroll down to “Push Notifications, ensure the checkbox is selected for Push Notifications, and select “Configure”
- Select “Create Certificate” under the Production SSL Certificate section
- Upload your CSR from Step 1 above and hit “Continue”
- Select “Download” to download the certificate
- Click to open the downloaded certificate, this will open it in your “Keychain Access” app
- In your Keychain App, go to the “My Certificates” tab
- Find the certificate with the correct identifier/bundle ID and right click, and select “Export”
- Ensure the export file format is a “Personal Exchange Information (.p12)”, then save the file to your computer
- Send aloompa the exported .p12 file