Your Apple Push Services will expire in 30 days Your Apple Push Services will expire in 30 days ios ios

Your Apple Push Services will expire in 30 days

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.

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.

Please refer by following link for better understanding:-

Proper way to renew distribution certificate for iOS

  1. Create a new certificate
  2. then, will delete an expire one from your keychain.