iOS - Renewing a Push Notification Certificate

Push Notification Certificates let you send notifications to users of your app. They expire one year after creation and must be renewed in order to let you send in-app notifications to your end-users. One month prior to expiration, the iOS Dev Center and the Mag+ Publish portal will email a warning to your associated brand admin.

Note: While Push Notification Certificates are optional for regular iOS apps, they are required for Newsstand apps.

Push Notification Certificates require a valid, unexpired Distribution Certificate. If you have created a new Distribution Certificate, you will need to create a new Push Notification Certificate and upload it to the Mag+ Publish portal (see the "Before You Begin" section below).

If you are unsure if your Provisioning Profile has Push Notifications enabled, read the article "iOS - Check if your Provisioning Profiles Accept Push Notifications."

Before You Begin

Make sure you have a valid, unexpired Certificate Signing Request (CSR file) downloaded to your machine. When downloaded, the file has a default ".certSigningRequest" file extension.  For more information on how to request a CSR file please see the first 4 steps in our "iOS - Creating a Distribution Certificate and .p12 File." article.

Important Information

Push Notification Certificates are considered a Live feature. So long as the Distribution Certificate is valid and unexpired, you can upload a new Push Notification Certificate to the Mag+ Publish portal and not have to build a new app.

How to Renew a Push Notification Certificate

1. To login into the iOS Developer Console goto <https://developer.apple.com> and click Account at the top

To login into the iOS Developer Console goto &lt;https://developer.apple.com&gt; and click Account at the top

2. Click "Certificates, Identifiers & Profiles."

Click &quot;Certificates, Identifiers &amp; Profiles.&quot;

3. Click on the link labeled "Identifiers."

Click on the link labeled &quot;Identifiers.&quot;

4. Click on the App ID associated with your app.

Click on the App ID associated with your app.

5. In the screen that appears, click on the "Edit" button.

In the screen that appears, click on the &quot;Edit&quot; button.

6. Under Production SSL Certificate, click on the "Create Certificate" button.

Under Production SSL Certificate, click on the &quot;Create Certificate&quot; button.

7. In the screen that appears, click on the "Continue" button.

Note: Be sure you have your valid, unexpired Distribution Certificate available before proceeding. The certificate is referred to as a CSR file and has a default extension of ".certSigningRequest." If you don't, please read the article "iOS - Creating a Distribution Certificate and .p12 File."
In the screen that appears, click on the &quot;Continue&quot; button.

8. Click on the "Choose File" button and select the CSR (Certificate Signing Request) file you have on your machine, then click on "Generate."

Click on the &quot;Choose File&quot; button and select the CSR (Certificate Signing Request) file you have on your machine, then click on &quot;Generate.&quot;

9. Click on the "Download" button to download your new certificate and then click on "Done."

Click on the &quot;Download&quot; button to download your new certificate and then click on &quot;Done.&quot;

10. Double-click the ".cer" file to install it in Keychain Access.

Note: It will have the name "Apple Production iOS Push Services" and will expire one year from today's date. You can then export it as a .p12 file (see below) and upload it to the Mag+ Publish portal.
Double-click the &quot;.cer&quot; file to install it in Keychain Access.

How to Export Your New Push Notification Certificate as a .p12 File

1. In Keychain Access, select the certificate entry and right-click on it to select "Export."

Note: All certificates you have installed will be in the "login" keychain (Label 1) under the category "My Certificates" (Label 2).
In Keychain Access, select the certificate entry and right-click on it to select &quot;Export.&quot;

2. In the window that appears, add "Push-" to the file name, make sure the File Format is set to "Personal Information Exchange (.p12)" and click on "Save" to save it to your machine.

Note: Mag+ Recommends changing the name of the certificate to reflect what it is used for. This ensures that you do not get confused about which certificate belongs to which apps, which is a distribution versus a push notification certficate, etc.
In the window that appears, add &quot;Push-&quot; to the file name, make sure the File Format is set to &quot;Personal Information Exchange (.p12)&quot; and click on &quot;Save&quot; to save it to your machine.

3. When asked for a password, leave it blank and click on "Ok."

Note: You MUST NOT enter a password in this step, otherwise the Mag+ Publish portal will be unable to build your app.
When asked for a password, leave it blank and click on &quot;Ok.&quot;

4. When asked for the computer password, enter it and click on "Allow."

When asked for the computer password, enter it and click on &quot;Allow.&quot;

5. Your .p12 file will be saved in the location you specified.

Note: You can now upload your .p12 file to the Mag+ Publish portal.
Your .p12 file will be saved in the location you specified.

6. Login to the Mag+ Publish portal <https://publish.magplus.com> and go to Apps > iOS > Apple Push Notifications.

Login to the Mag+ Publish portal &lt;https://publish.magplus.com&gt; and go to Apps &gt; iOS &gt; Apple Push Notifications.

7. Delete the existing Push Notification Certificate, upload the .p12 version of your new Apple Push Notification Certificate you created above, and then click "Save."

Delete the existing Push Notification Certificate, upload the .p12 version of your new Apple Push Notification Certificate you created above, and then click &quot;Save.&quot;

Certificate Renewal: Next Steps

As stated previously, new Push Notification Certificates do not require a new app build unless you have created a new Distribution Certificate. Once uploaded to the Mag+ Publish portal, you can send push notifications to your end-users.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk