APNs Certificate Management
The Apple Push Notification service (APNs) certificate is the foundation of MDM communication. It allows GuardMDM to send commands, install profiles, and push updates to enrolled devices.
Certificate Lifecycle
| Stage | Description | Duration |
|---|---|---|
| Creation | Generated from Apple Developer account | ~10 minutes |
| Active | Used for all push notifications | 1 year |
| Renewal | Renewed before expiry | ~5 minutes |
| Expiry | Certificate expires, push stops | Immediate |
Viewing Certificate Status
- Go to Device Enrollment > APNs
- The status page shows:
- Status: Valid, Expiring Soon, or Expired
- Issued: Date the certificate was created
- Expires: Expiration date
- Subject: Organization name on the certificate
- Fingerprint: SHA-1 hash for verification
Status Indicators
- Valid (green) — Certificate is active and working
- Expiring Soon (yellow) — Less than 30 days remaining
- Expired (red) — Certificate has expired, push is broken
Renewing a Certificate
Start renewal at least 30 days before expiry to avoid service disruption.
- Go to Device Enrollment > APNs
- Click Renew
- Download the Certificate Signing Request (CSR)
- Go to Apple Push Certificates Portal
- Sign in with your organization Apple ID
- Select the existing certificate and click Renew
- Upload the CSR
- Download the renewed certificate
- Return to GuardMDM and upload the renewed certificate
- Verify the status shows Valid
Renewal does not change the certificate's Subject or Topic — it only extends the expiry date. Devices do not need to be re-enrolled.
Replacing a Certificate
Replace a certificate when changing Apple IDs, organizations, or after a security incident.
- Go to Device Enrollment > APNs
- Click Replace
- Download the CSR
- Go to Apple Push Certificates Portal
- Create a new certificate with the CSR
- Download the new certificate
- Upload it to GuardMDM
- Confirm the new certificate is active
Replacing a certificate creates a new Topic. Devices enrolled under the old certificate will stop receiving push notifications. You may need to re-enroll affected devices.
Certificate Expiry Monitoring
Dashboard Alerts
- A banner appears on the dashboard when a certificate is within 30 days of expiry
- The APNs Push Certificate page shows the expiry date for the uploaded certificate
- Expired certificates trigger a critical alert
Email Notifications
GuardMDM automatically sends expiry warning emails to the tenant owner email address configured for your organization. Ensure your organization email is up to date so you don't miss these notifications. No manual configuration is required in the console.
What Happens When a Certificate Expires
- Devices already enrolled remain enrolled
- New push commands are not delivered
- Device check-in still works (device-initiated communication)
- Policy updates, remote wipe, and lock commands stop working
- Users see "Not managed" or lose access to managed apps
Fix: Renew the certificate and upload it. Push functionality resumes immediately.
APNs Certificate Expiry = Complete MDM Shutdown
The APNs certificate is GuardMDM's "lifeline." Once expired, the entire MDM system shuts down:
| Feature | Before Expiry | After Expiry |
|---|---|---|
| Remote Lock/Wipe | ✅ Working | ❌ Completely broken |
| Profile Push | ✅ Working | ❌ Cannot push |
| App Installation | ✅ Working | ❌ Cannot install |
| Device Enrollment | ✅ Working | ❌ New devices cannot enroll |
| Lost Mode | ✅ Working | ❌ Cannot enable |
| Device Status | ✅ Working | ❌ Devices show as Offline |
Recovery: Renew the certificate and upload it — push functionality resumes immediately. Commands queued during the outage are not automatically replayed.
Prevention:
- Set a calendar reminder 60 days before expiry
- Ensure the tenant owner email is up to date for expiry notifications
- Keep the Apple ID used for certificate creation accessible
- Check certificate status weekly
Best Practices
- ✅ Set calendar reminders 60 days before expiry
- ✅ Keep the tenant owner email current for expiry notifications
- ✅ Keep the Apple ID used for certificate creation accessible
- ✅ Test renewal in a staging environment first
- ✅ Monitor certificate status weekly
- ❌ Don't wait until the last week to renew
- ❌ Don't delete the old certificate until the new one is verified
- ❌ Don't share the Apple ID across unrelated organizations
