A Push Notification Certificate is necessary in order to send push notifications to attendees via your app. In order to create a Push Notification Certificate, follow the steps below.
- Navigate to Apple Developer and log in.
- Click on 'Certificates, Identifiers & Profiles'.
- Select 'Identifiers', locate your app, and click on the name.
- Scroll down the page to "Push Notifications" and click 'Configure'.
- A pop-up window will appear. Click on 'Create Certificate' under Production SSL Certificate.
Note: you can have up to three Push Notification Certificates under the Production SSL Certificate.
- Click 'Learn More' under "Upload a Certificate Signing Request" to learn how to create a Certificate Signing Request (CSR) file. Then go back to Apple Developer and click 'Choose File'.
- Use Finder to find your CSR file, select it, and click on 'Open' in the dialog window. It will now be visible in the browser. Click on 'Continue'; it will take a moment to show the next window.
- Click on 'Continue'; it may take a moment to show the next window.
- Your certificate is ready for download. Click on 'Download'.
- Locate the downloaded file, called “aps.cer”, on your Mac and click on it. It will trigger Keychain Access to open.
- To find the certificate in Keychain Access, you can use the Search field in the top-right of the dialog window. Type in the Bundle ID of the App ID. You can now confirm that the Push Certificate was correctly created, is valid, and has an associated private key.
- Next, you will export this certificate and save it as a .P12 file. First, you must unselect it in the list. Click somewhere below the certificate in an empty space in the Keychain Access dialog window.
- Right-click on the certificate to show the contextual menu. In the menu that appears, select Export: "Apple Push Services...”
- A dialog box will open. Select a location to save the file. Give it a recognizable name. For example, “appname_pushcert”. Then click 'Save'.
- Another dialog will open, asking you to enter a password, which will protect the P12 file. Type in "doubledutch2019" and enter it twice as requested. Click 'OK'.
- Next, send the saved P12 file in an email to your DoubleDutch representative. The DoubleDutch App Operations team will upload this to the back-end admin system. You will be notified when you can test Push Notifications on your app.
Note: Push Notification Certificates expire after 12 months. You will receive an email from Apple when that occurs; please let your DoubleDutch representative know when your certificate expires. At that time you will create a new Push Notification Certificate by following the process mentioned above. Also, you will need a Mac computer in order to create your push notification certificate or else push messages won't work.
Continue to the next step in the distribution process: How to Create a Distribution Certificate.