How to create certificates for iOS apps and push notifications

The process for creating certificates for iOS apps and services can be a bit overwhelming. In this post, I've tried to detail the process as accurately I can so that others can do it with relative ease.

Step by step

  1. Head over to the Apple Developers control panel and log in.

    log in page for the Apple developers site

  2. In the menu on the left, select "Certificates, IDs & Profiles".

    left hand menu showing various sections of the Apple developers site

  3. In the top left corner, click the "+" button.

    Apple developers page listing all certificates

  4. Choose a certificate type. These are the main certificates you'll need to create.

    • iOS App Development - This certificate allows you to sign test versions of your app. Using iTunes you can drag & drop your development certificate-signed app onto your device.

    • Apple Push Notification service SSL (Sandbox) - This certificate is required to send push notifications to apps installed using the iOS App Development certificate.

    • App Store and Ad Hoc - Use this certificate for signing your app for deployment to the App Store and TestFlight (if you've chosen to use it).

    • Apple Push Notification service SSL (Sandbox & Production) - Use this certificate to send push notifications to apps signed using the App Store and Ad Hoc certificate. Although this certificate is called Sandbox & Production, I've had difficulty sending push notifications to development devices using it.

  5. You'll now be asked to provide a CSR file. If you don't have one, check out How to create a certificate signing request where I explain the process.

  6. After you've uploaded the CSR file, you'll be give the chance to download your certificate. Download it, and save the .cer to your disk. If you have a Mac, store the certificate in your keychain using the keychain access tool.

Sam L

17th October 2019 03:45


iOS App Development