Push certificate description

Last updated: 2019-11-13 15:32:20

PDF

Notes on iOS push certificates

Message push certificate overview

This guide describes how to generate iOS message push certificates required by TPNS.
iOS push certificates include push certificate for the development environment and push certificate for the release environment.
You can create push certificate for the development environment and push certificate for the release environment using this tutorial.

APNs push certificate request

Step 1: Create a request file for message push certificate

First, open the Keychain Access tool.

Then, select Request a Certificate From a Certificate Authority.

Finally, enter your email address, leave other fields blank, and save the certificate locally.

Step 2: Configure the app to enable it to push messages

First, log in to the Apple Developer website and click Certificates, Identifiers & Profiles.

Then, select the app that needs a message push certificate, and select the message push service.

Step 3: Create a message push certificate

First, click Create Certificate. Here, we need a certificate version that applies to both the development environment and the production environment.

Then, select the message push certificate request file created in step 1, upload it, and click Generate.

Finally, download the generated message push certificate to the local system.

Step 4: Install the certificate

Double-click the certificate downloaded in the previous step to automatically install the certificate to the Keychain application.

Step 5: Export the certificate

Open Keychain Access, select the message push certificate to be exported and right-click it. The export format is P12, then set the password.

Uploading a certificate

Step 1: Log in to the console.

Step 2: In App List, select the app that needs to have the push certificate uploaded

Step 3: On App Configuration page, upload the push certificate