My APNS push certificate expired, what should I do?

Batch servers need a valid certificate to communicate with Apple Push Notification Services. Follow that guide to create a new one.

Batch servers need a push certificate to communicate with Apple Push Notification Services (APNs). There are two kinds of certificates you can use with Batch: a .p8 file or a .p12 certificate, which expires after 12 months.

If you stop receiving push notifications and an error message appears in the campaigns list, your .p12 certificate probably expired.

Here is how to generate a .p8 file for your app in two easy steps:

1. Download the .p8 file

First, generate and download a new .p8 file:

  • Give a name to your key

  • Tick the "Apple Push Notifications Service" box

  • Download the .p8 file.

2. Upload the .p8 file

On the Batch dashboard, go to Settings → Channels → iOS, and upload your .p8 file.

You will need to paste two IDs to be able to use your new certificate:

  • App ID / Bundle ID: Use the bundle ID you will find in Xcode. You can also use the app ID available from the Developer Console here.

  • Team ID: The team ID is available from the Developer Console here.

Last updated

Was this helpful?