Skip to main content

Certificate Signing Request (CSR) Creation and Installation Guide

Step 1: Create a Certificate Signing Request (CSR)

  1. Open Keychain Access on your Mac.

  2. Navigate to Keychain Access > Certificate Assistant > Request a Certificate from a Certificate Authority.

    Certificate Assistant

  3. Add email address,and CA email Address and common name for the certificate. (You can use common name as your App Name)

  4. Choose "Save To Disk"

  5. Click Continue and save the CSR file to your computer.

    CSR

Step 2: Upload the CSR to Apple

  1. Go to the your Certificates, Identifiers & Profiles.

  2. Click on Certificates.

  3. Click the add button (+).

  4. Choose "Apple Push Notification service SSL (Sandbox & Production)" from Service Section

    Image

  5. Select the appropriate App ID for which you want to generate the certificate.

    Image

  6. Click Continue and upload the CSR file.

  7. Download the certificate.

Step 3: Install the Certificate

  1. Double-click the downloaded certificate file to install it in your Keychain Access.
  2. Go to Keychain Access > My Certificates and locate the newly installed certificate.
  3. Right-click (or control-click) on the certificate and select Export.
  4. Choose a location to save the certificate and select .p12 as the file format.
  5. Enter a password and confirm it. Note - Store your password at safe place because whenever you'll run the App XCode will ask for keychain access password. If you don't want to be asked password everytime you run, you can keep password empty.