Setting Up iOS Push Certificates

Setting Up iOS Push Certificates

You need to obtain the appropriate push certificate from Apple before you can register a device for push notification with Telerik Platform. Push certificates are issued though the Apple developer portal.

After you are issued the certificates you need to upload them to Telerik Platform as described in Enabling Push Notifications.

The steps in this article assume that you are requesting development push certificates. Despite that, you can use the instructions for requesting production push certificates. Simply choose the production option in the appropriate steps.

To receive a push certificate, you need to go through several steps:

Creating an SSL Certificate

To create an SSL certificate associated with your app in Apple Developer center take these steps:

  1. Launch the Keychain Access application on your Mac.
  2. Go to Keychain Access > Certificate Assistant > Request a Certificate From a Certificate Authority....

    Request a certificate from a certificate authority

  3. In the wizard that opens enter your details and select the Saved to disk option.

    Certificate assistant

  4. Click Continue and save the .certSigningRequest file on your local hard drive.

Creating an App ID

Take these steps to create an App ID using the Apple Developer portal:

  1. Go to the Apple Developer portal at developer.apple.com.
  2. Navigate to Member Center and log in.
  3. Click Certificates, Identifiers & Profilers.
  4. Click Identifiers under iOS Apps.

    iOS Apps

  5. Click Identifiers > App ID then click the “+” button in the top-right corner to create a new App ID.

  6. Enter an App ID Description and an Explicit App ID. The Explicit App ID must match the bundle identifier that can be found in your apps' info.plist file.

    App ID description

  7. Under App Services, select Push Notifications (and any other services that you may want to enable).

    App Services

  8. Click Continue to create the App ID.

Configuring the App ID

Configuring the App ID includes creating a development certificate for receiving push notifications.

  1. Go to the Apple Developer portal at developer.apple.com.
  2. Navigate to Member Center and log in.
  3. Click Certificates, Identifiers & Profilers.
  4. Click Identifiers under iOS Apps.
  5. Click Identifiers > App ID and select the App ID that you just created.

    Configuring the App ID options

  6. Click Edit and scroll down to the Push Notifications section.

    Configuring the App ID for push notifications

  7. Depending on whether you want to create a development or a production SSL certificate, click the Create Certificate button in the respective section.

  8. In the wizard that opens, upload the .certSigningRequest file that you obtained in the Creating an SSL Certificate section.
  9. Download and install the generated SSL certificate into your keychain.
  10. On your Mac, go to Keychain Access > My Certificates and find the “Apple Development iOS Push Services” entry.
  11. Right-click on it and click Export "Apple Development iOS Push Services...”.
  12. Save the exported .p12 file to a suitable location.

    Export the generated certificate

  13. Follow the instruction in Enabling Push Notifications to upload the .p12 file to Telerik Platform.

Creating a Provisioning Profile

Once the App ID is created and configured, the next step is to create a provisioning profile based on it. It is used to deploy the app to a device.

  1. Go to the Apple Developer portal at developer.apple.com..
  2. Navigate to Member Center and log in.
  3. Click Certificates, Identifiers & Profilers.
  4. Click Provisioning Profiles under iOS Apps.
  5. Click the “+” button in the top-right corner
  6. Select Development > IOS App Development and choose the App ID created in Creating an App ID.

    Selecting an App ID

  7. Select the development certificate that is associated with the developer account.

  8. Select the device that was previously added to the portal using Xcode.
  9. Name the provisioning profile and click “Generate”.

See Also


Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.