Skip to main content

APNs Certificate Creation & Renewal on macOS Computers (Keychain)

Description

FileWave uses an Apple Push Notification service (APNs) certificate to communicate with managed Apple devices. Apple requires this certificate to be renewed every year.

Renew before expiry
An expired APNs certificate stops FileWave from sending MDM commands to Apple devices, and Update Model cannot restore that communication until the certificate is renewed. Record the owning Apple Account and schedule renewal well before the expiration date.

image.png

This guide creates or renews the APNs certificate on a Mac using Keychain Access, the FileWave CSR portal, and the Apple Push Certificates Portal.

Preserve the APNs topic
Renew the existing certificate with the same Apple Account and confirm that its topic matches the current certificate in FileWave Central. Creating a different certificate instead of renewing the existing one changes the management identity and can break communication with already enrolled devices.

Step-By-Step Guide

Creating the Certificate Signing Request (CSR)

  1. Open Keychain Access, located in: Applications > Utilities > Keychain Access.app.

  2. Create a CSR. Keychain Access > Certificate Assistant > Request a Certificate from a Certificate Authority... 

    image.png

  3. In the Common Name field, enter the Apple Account and FileWave Server name that will be associated with this certificate.


    Common Name
    Certificate Private Key names are visible in Keychain and the Common Name is used to set the Private Key name.  Supplying the Apple ID and Server as the Common Name, ensures the Apple ID used to generate the certificate will be stored for future reference.


    image.png

  4. Select the radio button "Saved to disk" and click Continue. 

  5. Save the CSR request, ready to upload to FileWave in the next section.

    Certificate storage
    Store the CSR, signed CSR, downloaded certificate, and exported .p12 in a restricted location organized by server and renewal year. Record the owning Apple Account without storing its password beside the certificate files.

Sign the CSR

CSR requests must be signed before uploading to Apple.  FileWave has a portal for this process, which requires an active FileWave account.

  1. Open csr.filewave.com and sign in.
  2. Upload the previously created CSR.
  3. Confirm that Download signed CSR lists the CSR you uploaded.
  4. Download this newly signed CSR, ready for upload to Apple in the next section.  Again consider where this certificate is stored.

image.png

Upload the signed FileWave CSR to Apple

Creating a new Certificate

If you are renewing a certificate then jump to Renewing a Certificate

  1. Navigate to: https://identity.apple.com/pushcert/ and log in with an Apple ID.

    This Apple Account owns the certificate and is required for every renewal. Use an organization-controlled account rather than a personal account so staff changes do not put renewal access at risk.

  2. Click 'Create'.

  3. 'Accept' Apple's 'Terms of Use'.

    image.png

Renewing a Certificate
  1. Navigate to: https://identity.apple.com/pushcert/ and log in with the Apple ID used to initially create the certificate. 
  2. Confirm the Certificate to renew.
  3. Select 'Renew'.

To confirm the certificate, compare the Subject DN (Topic) and current certificate.

Clicking the 'i' button will show the certificate details, including the Topic:

image.png

Confirm that the topic matches Current Certificate in FileWave Central > Preferences > Mobile > Apple Push Notification Certificate:

image.png

If the topics do not match, stop. If the correct certificate is not listed in the Apple Push Certificates Portal, verify that you signed in with the Apple Account that owns the current certificate. The Keychain private-key Common Name may identify the account recorded during the original setup.

Click 'Choose File' and browse to the signed FileWave CSR from the previous section.

Click 'Upload' and Apple will return a 'Confirmation'.

image.png

Click 'Download' and save the ".pem" file.  Again consider where this certificate is stored.

image.png

Create a ".p12" from the Signed CSR

  1. Open Keychain Access app, select login from the Keychains list and then choose 'My Certificates' tab.

    Keychain
    If imported into the System Keychain, the Private Key will not be accessible.  If 'All Items' tab is selected, private keys will not be available!

  2. Drag the downloaded PEM file into the Keychain main window.

  3. Locate the imported certificate.  It will begin with "APSP:".

  4. Click the disclosure triangle and select the expanded private key.

    Common Name and Topic
    The name of the Private Key will show the value defined as the "Common Name" from the creation of the CSR.  Where recommendation was followed, this should list the Apple ID and Server name.  Additionally the name of the Certificate is the same as the Topic.


    image.png

  5. From the 'File' menu, choose 'Export Items...'.

    image.png

  6. Export as a .p12 file.  Again consider where this certificate is stored.

  7. Click Save.

    image.png

  8. Leave the password blank.

    image.png

  9. Enter your local admin account, when prompted, allowing Keychain to export.

image.png

Uploading the Certificate into FileWave

  1. Open FileWave Central and sign in to the FileWave Server.

  2. Open FileWave Central Preferences.

     

    image.png

  3. Select the 'Mobile' tab.

  4. Click 'Browse' and navigate to the saved ".p12" APNs certificate.

  5. Select the exported ".p12" certificate.

  6. Click 'Upload APN Certificate/Key Pair'.

image.png

Before accepting the upload, FileWave Central compares the new topic with the current topic and warns when they do not match:

APNs Mismatch Warning.png

Click 'OK' to save and close the Preferences dialog.

After saving, run Update Model on a controlled Apple device and confirm that it receives the command. This verifies the renewed APNs path before you rely on it for broader management.

Set a renewal alert
In FileWave Central, open Dashboard > Alert Settings and add APN for MDM. Email alerts also require working Server Mail Preferences. Keep a separate calendar reminder tied to the certificate owner so the renewal does not depend on one alert channel.

Contact Apple for help

If you cannot identify or access the Apple Account that owns the certificate, contact Apple Deployment Programs Support before creating a replacement certificate.

Contact Apple for help with APNs certificates