ravado
ravado

Reputation: 43

Setup an app to use single Universal Push Notification Client SSL Certificate for Development and Production

Recently Apple introduced a new type of APNS certificates - Universal Push Notification Client SSL Certificate.

It seemed for me that it should allow to have one certificate to use on both Development and Production (Sandbox and Production). This was really wanted feature because my backend uses the Azure Notification Hub to send pushes and contains only one available space for a certificate (Sandbox or Production).

I tried to follow official docs provided by Apple (Creating a Universal Push Notification Client SSL Certificate) but with no luck - the new certificate applies only for Distribution . And even on theirs screenshots I see that this certificate applies only for Distribution mode and not for the Development and this is what confuses me - Creating a Universal Push Notification Client SSL Certificate

This is why I will appreciate any guidance or advice which will explain how it should work, and did I understand the purpose of those certificates properly?

Upvotes: 3

Views: 1983

Answers (2)

jalogar
jalogar

Reputation: 1684

I had the same problem looking for how to "Generate a universal APNs client SSL certificate". After a while, I managed to make it work. In the Apple developer console:

  1. create a Key (not a certificate)
  2. write the name of your key a select "APNs" service.
  3. Download your .p8 key.

Then you have to use this .p8 file in your call.

Upvotes: 0

Code
Code

Reputation: 6251

That's how it should appear - "Configurable" for development and "Enabled" for distribution. But it'll work for development as well.

Upvotes: 1

Related Questions