Your Apple Push Services will expire in 30 days.

Your Apple Push Services will expire in 30 days.

You got this email from Apple and you don't know what to do? Or you saw in the Apple Developer console in the Certificates, Identifiers & Profiles section that this certificate is expiring soon?

It means you need to renew your app 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 on your Mac:

    1. Launch Keychain Access -> Choose Keychain Access -> Certificate Assistant -> Request a Certificate from a Certificate Authority.

    2. In the Certificate Assistant dialogue, enter an email address in the User Email Address field.

    3. In the Common Name field, enter a name for the key

    4. Leave the CA Email Address field empty.

    5. Choose “Saved to disk”, click Continue and save it in the computer.

  4. Go back to the Apple developer site and upload the CSR created in the above step -> Continue -> Download the certificate on your Mac.

  5. Double-click on the downloaded cert to install it in Keychain on your Mac.
    Open Keychain Access -> Certificates -> The new cert and its private key should be listed there.

  6. 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 a P12 file.

  7. Login to Firebase -> Project settings -> Cloud Messaging -> APNs Certificates -> Upload your P12 file (Could be you use any other third-party instead of Firebase, find out yourself)