Unable to update APNS certificate

Hello there,

I've been trying to update my APNS setup for my enterprise app.  

  • I have created a production cert (verified that the certificate is under the "Production SSL Certificate").
  • I then added that to the keychain and exported it as a .p12.

When I try to upload it to the API I get the error "You uploaded a development certificate for a production app!".  I checked the cert and expected to see that it was a production cert.  Instead I see 2 extensions in the cert:

Extension Apple Push Service Client (Development) 

Extension Apple Push Service Client (Production) 

I even tried creating a second production cert and I got the same result.  Any ideas why this might be happening?

Didn't find what you were looking for?

New post

Comments

33 comments

  • Hi Kristoffer,

    You're likely uploading the incorrect certificate. When you export the certificate from your keychain, you should be looking for a certificate titled "Apple Production iOS Push Services".

    The certificate you're trying to upload instead is actually the certificate used to sign the app in Xcode, rather than configure your project for push notifications.

    Comment actions Permalink
    0
  • Yes, that was the problem. Once I downloaded and used " Apple Push Services:<bundleID>"-certificate instead it worked. Thanks!

    Comment actions Permalink
    0
  • Happy to help!

    Comment actions Permalink
    0

Please sign in to leave a comment.