Apple Push Notification Service
What
- Like to know a new message has been sent?
- Want to see how many messages are unread from the Home Screen, per App?
APNs is the Apple service FileWave uses to wake Apple devices for MDM/DDM check-ins. The device still contacts the FileWave server for the actual management commands; APNs only delivers the wake-up notification.
Push notifications allow apps to notify users with alerts, sounds, badges, or silent updates. Users control which notifications are visible or silenced in Settings.
Developers of apps that use APNs register their app with Apple and integrate the APNs token into their app server.
FileWave administrators obtain and renew an APNs certificate for Apple MDM; this is not an app's device token or one of the trusted root certificates listed below. With FileWave Central and Server 17.0 or later, use the Central wizard described in APNs certificate creation and renewal on macOS or on Windows. The manual XCA procedure and the linked Keychain/OpenSSL alternatives remain available when a manual certificate/key workflow is needed, including on FileWave 16.4. For renewal, use the Apple Account that owns the existing certificate and renew that certificate with the same topic. Updating an APNs root certificate does not renew your organization's MDM certificate.
The notification provider server must validate the certificate presented by Apple’s APNs service when establishing its TLS connection. Its trust store needs the appropriate root certificate for that chain; this is separate from the provider or MDM certificate used to authenticate to APNs.
APNs Certificate Update:
At times the Root Certificate used by APNs will require replacing, prior to expiry.
|
APNs Cert |
Service |
Up to Date |
From Date |
Expiry Date |
|
AAA Certificate Services root certificate |
Sandbox |
Jan 2025 |
- |
Dec 31 23:59:59 2028 GMT |
|
Production |
Feb 2025 |
- |
||
|
SHA-2 Root : USERTrust RSA Certification Authority certificate |
Sandbox |
- |
Jan 2025 |
Jan 18 23:59:59 2038 GMT
|
|
Production |
- |
Feb 2025 |
Apple will supply information when this occurs, ensuring developers of Apps and providers of 3rd party servers update their products.
FileWave Server already includes both of the above listed certificates within its Trust Store.
Third-party apps
An app registers with APNs when it runs and receives a device token unique to that app on that device. It forwards the token to its provider server so the server can address notifications to it. Installation alone is not the registration step; see Apple's app registration guidance.
Messages pushed can include:
- Display Alert Message to User
- Apply Badge Icon to App’s Icon
- Play a Sound
- Deliver Notification Silently
Both Message and Unique Device Token are sent by the App’s Server when attempting to initiate a notification.
Notifications are relayed through Apple’s APNs service. When the device receives the notification, it acts according to the payload, such as displaying a message to the user.
An app notification request includes a device token to identify the destination and a JSON payload for the notification content. The device token is sent in the request path, not as a field inside the APS dictionary; see Apple's notification request format. The main pieces are:
- APS Dictionary: Message content
- Alert Keys: Assist notification processing, e.g. an identifier to a particular conversation of a messaging app.
- Destination: the unique app/device token in the request path
Check the notification provider server’s APNs trust requirements, rather than treating this as a certificate that every receiving app must bundle. See Apple’s provider connection guidance.
MDM/DDM
MDM and DDM communication also rely on APNs, with a few important differences from user-facing app notifications:
- During MDM enrollment, the device supplies its management push token and push magic to the MDM server. These are distinct from third-party app notification tokens.
- Apple provides the device-management client as part of the operating system. On macOS, its executable is '/usr/libexec/mdmclient'.
- APS dictionary should not be included in the payload from an MDM server.
MDM APNs messages are only a request for the device to contact the MDM server. Commands are sent directly between the device and the MDM server after the device checks in.
FileWave 17.0: MDM push status on Apple OS 27
For macOS 27, iOS 27, and iPadOS 27 devices, FileWave 17.0 subscribes to the DDM status items mdm.push-token and mdm.push-magic. These report the device-management push properties used with APNs. They are separate from your organization’s APNs certificate and the trusted root certificates described above.
Receiving these status values does not renew the APNs certificate or confirm that a particular management command has completed. Continue to renew the existing MDM certificate with its owning Apple Account and the same topic, and check the relevant command result separately. Do not treat a push-status report as a guarantee of immediate recovery from a communication problem.
Since Apple are the developers of the 'mdmclient', Apple manage its Trust Store. Apple’s list of supported Root Certificates per OS version are available from their KB:
No comments to display
No comments to display