Your Apple Push Services will expire in 30 days
Asked Answered
N

3

26

I got the following e-mail today:

Dear – –,

This certificate will no longer be valid in 30 days. To create a new certificate, visit Certificates, Identifiers & Profiles in your account.

Certificate: Apple Push Services

Identifier: – – –

Team Name: – – – –

To learn more about expired certificates, visit the certificates support page.

Best regards,
Apple Developer Relations

In Apple Developer it's under

Certificates, Identifiers & Profiles>Certificates>Production

and looks like this:

enter image description here

What will I have to do now? Revoke and create a new one? Will Push Notifications still work?

Nita answered 11/6, 2017 at 8:8 Comment(3)
You should have an option to create a new certificate before revoking the old one, but maybe they changed the UI since I last checked.Albumenize
Possible duplicate of Renew Push certificate and keep current App Store App workingFarahfarand
@Albumenize yes you are correct now UI is chnaged: https://mcmap.net/q/157260/-renew-push-certificate-and-keep-current-app-store-app-workingEllswerth
N
37

You need to renew Push Notification Certificate. Here are the steps:

  1. Login to Developers account -> Certificates, IDs & Profiles and verify the expiring certificate.

  2. Go to Identifiers -> App IDs -> Click on the AppId -> Scroll down to Push Notifications -> Edit -> Click 'Create Certificate' under 'Production SSL Certificate'.

  3. Create certificate signing request from Keychain Access in your Mac:

    • Launch Keychain Access -> Choose Keychain Access > Certificate Assistant > Request a Certificate from a Certificate Authority.
    • In the Certificate Assistant dialog, enter an email address in the User Email Address field.
    • In the Common Name field, enter a name for the key
    • Leave the CA Email Address field empty.
    • Choose “Saved to disk”, and click Continue and save it in computer.
  4. Go back to Apple developer site and upload the CSR created in above step -> Continue -> Download the certificate on your mac.

  5. Double click on the downloaded cert to install it in Keychain in your Mac.

  6. Open Keychain Access -> Certificates -> The new cert and its private key should be listed there.

  7. Export the certificate for your push notification client: Right click on the cert in the Keychain Access-> select "Export Apple Push Certificate : " -> leave the password empty -> save as P12 file.

  8. Login to OneSignal -> App -> Settings -> verify the expiration date -> click Edit -> browse the P12 file saved earlier.

  9. Revoke the old APNs certification from the developers account.

For step 8 and 9, if you don't use OneSignal, it's the same process where you need to upload the exported p12 file in that third party push service client's app settings.

Numbskull answered 12/11, 2019 at 7:35 Comment(5)
For OneSignal users I would just follow their own tutorial. They have a wizard page just to generate the .p12 certificate for you. So things got much easier. documentation.onesignal.com/docs/…Rubalcava
For Firebase: 8. Project settings -> Cloud Messaging -> APNs Certificates -> Upload your P12 fileUnattached
Thank you for the well-written answer. It did work for me fine except when I tried to export the apple push certificate, the p12 extension was greyed out. To enable that I had to select the "My Certificates" tab on the top of keychain access, there I selected the push certificate and I was able to export it as .p12 extension fileLonganimity
Thank you very much! A very detailed and correct procedure...Boulogne
if we use APN's and auth keys for integration, this process can be eliminated right?Pifer
C
12

When a certificate expires it can no longer be used to send push notifications. Each App ID can have 2 development and 2 production push SSL certificates at a time. Create a new certificate and add them to your App ID in the Apple Developer Center.

Add the new certificate to any services you use to send push notifications. Once those services are updated with the new certificate you can revoke the expiring one.

Clytemnestra answered 23/8, 2018 at 6:27 Comment(0)
A
-9

Please refer by following link for better understanding:-

Proper way to renew distribution certificate for iOS

                 (or)
  1. Create a new certificate
  2. then, will delete an expire one from your keychain.
Aristotelian answered 22/2, 2018 at 8:12 Comment(2)
The question is about Push certificates, not to be confused with Distribution certificates.Hunterhunting
pls find the answer here: https://mcmap.net/q/157260/-renew-push-certificate-and-keep-current-app-store-app-workingEllswerth

© 2022 - 2024 — McMap. All rights reserved.