Before you start, make sure you have the following:
• A Mac workstation
• Access to the Apple Developer account with permission to access certificates and profiles
Generate Certificate Signing Request (CSR) File
- Launch Keychain Access on your Mac workstation.
- Select Keychain Access > Certificate Assistant > Request a Certificate From a Certificate Authority.
- In the window that opens, enter your email address, select the Saved to disk radio button, and click Continue.
- Save the CSR file to your workstation.
- Log into your Apple Developer account and go to Certificates, Identifiers & Profiles.
- In the menu on the left, open the Identifiers tab, find your app, and click it.
- If you have no app yet, click next to the Identifiers header.
- Register a new App ID.
- Select the Push Notifications check box in the list of capabilities for the new app.
- Once your app is created, click its name on the Identifiers tab and locate the active Push Notifications capability in the list. Click Configure.
- In the Production SSL Certificate section in the pop-up window, click Create Certificate.
Do not create a development SSL certificate as edna Pulse only works with Apple’s production cloud that requires a production SSL certificate.
- In the window that opens, select iOS from the Platform drop-down and click Choose File.
- Select the CSR file you downloaded earlier and click Continue.
- Once done, click Download to download the created push certificate to your workstation.
The certificate has an expiration date. Remember to generate a new certificate and upload it to edna before the previous one expires.
Export Certificate in P12 Format
You need to export the certificate in the .p12 format to be able to use it for edna.
- On your workstation, locate the certificate created in the previous step and click it twice – this will upload it to Keychain Access.
- Select My Certificates or Certificates category. Right-click the certificate and select Export.
- Enter a name for the file in the Save as field.
- For File Format, select Personal Information Exchange (.p12). If the certificate was selected from the All Items category, export to p12 will not be available.
- Click Save.
- Create, verify, and make note of your password (you will need it later). Use printable ASCII characters for the password.
This password protects your exported .p12 file and is required when setting up an iOS app in edna Pulse.
- Enter your Keychain Access password to allow exporting the certificate and click Allow. Usually, it is the same password you use for your Mac workstation.
All done! You now have a push certificate in the .p12 format and its password. You will need this data later when setting up an iOS app in edna Pulse.