When trying to rebuild or renew your Apple Push Service certificate, you might get a cert error or an Apple Auth Error mentioning 2 Active Push Profiles. This can be fixed by revoking an older push service certificate in the Developer Console, or by checking for pending license agreements is the App Store Connect portal.
During rebuilding or renewing the Push Notification service certificate, if you have multiple certificates registered for your App, you will get one of the following errors:
- Cert Error
- Apple Auth Error:
Some possible causes of these certificate errors are:
- There is more than one Apple Push Service Certificate in the Apple Developer Account.
- The Bundle ID does not match the one in the CMS.
- There is a pending Apple license agreement, that you have to agree to.
The Bundle ID represents the app's unique identifier that you can register, modify, and delete. To solve this issue, you should first verify the Bundle ID from the App Store Connect; after that, you need to revoke the older certificates from the Apple Developer Console.
Verify the Bundle ID
Log in to the App Store Connect.
- If there is a pending license agreement you will see the message "The updated Apple Developer Program License Agreement needs to be reviewed." Be sure to accept the agreement before continuing.
- Go to My Apps
Select the app that has push notification issues and select the tab that says App Information.
Copy this Bundle ID to a text editor as it will be required to search for the certificates, and will be used to verify the Bundle ID in the CMS.
Revoke the Certificate
Go to the Apple Developer Console.
Go to Certificates, Identifiers & Profiles.
If there are many apps listed, search for the certificate using the Bundle ID.
From the Apple Push Services certificates displayed for the Bundle ID, select the certificate with the oldest expiration date.
If there are more than two certificates, repeat the above process until there is only one certificate (the newest one) left.
Note: If you are still experiencing issues and the Apple Developer ID for the particular app is registered as an Organization kindly add our Apple ID (email@example.com) as an Admin or App Manager with access to Certificates, Identifiers & Profiles.
This will allow us to check inside the account and perform the requested operation(s).
Please see Add, edit, and delete users, for further instructions to add our Apple ID as an Admin or App Manager
Run Push Publish again. The push notifications should now work without any error.
Go to My Apps.
Click the Options Menu of the App that you had the problem with.
Click More > Push Publish.
- Fill in the required details and verify the Bundle ID. Replace it with the one you noted in the text editor if it does not match.
- Click Submit at the bottom of the page.
The following message should display on the top of the interface:
Push certificate generated!