Reputation:
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:
What will I have to do now? Revoke and create a new one? Will Push Notifications still work?
Upvotes: 28
Views: 24235
Reputation: 9880
You need to renew Push Notification Certificate. Here are the steps:
Login to Developers account -> Certificates, IDs & Profiles and verify the expiring certificate.
Go to Identifiers -> App IDs -> Click on the AppId -> Scroll down to Push Notifications -> Edit -> Click 'Create Certificate' under 'Production SSL Certificate'.
Create certificate signing request from Keychain Access in your Mac:
Go back to Apple developer site and upload the CSR created in above step -> Continue -> Download the certificate on your mac.
Double click on the downloaded cert to install it in Keychain in your Mac.
Open Keychain Access -> Certificates -> The new cert and its private key should be listed there.
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.
Login to OneSignal -> App -> Settings -> verify the expiration date -> click Edit -> browse the P12 file saved earlier.
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.
Upvotes: 42
Reputation: 21254
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.
Upvotes: 12
Reputation: 40
Please refer by following link for better understanding:-
Proper way to renew distribution certificate for iOS
(or)
Upvotes: -9