Skip to content
MDM

TroubleshootingMoving off another MDM

Keeping WiFi certificates alive through an MDM migration

You will be able to diagnose why devices drop off secure WiFi during an MDM migration, trace each fault to one of three causes and fix it in the right order. You will also be able to plan a wave-by-wave migration that keeps every EAP-TLS certificate valid, from trusting the new CA on RADIUS to retiring the old one...

11 min read

Keeping WiFi certificates alive through an MDM migration

Watch the explainer

If devices drop off WiFi during an MDM migration, it is almost always one of three faults; check in this order. First, the old MDM removed its WiFi profile and certificate early. Second, RADIUS does not trust the new SCEP certificate authority. Third, the new EAP-TLS profile mismatches the certificate or the server.

A few definitions first. IEEE 802.1X is the port-based access control standard behind WPA2-Enterprise and WPA3-Enterprise. EAP-TLS (RFC 5216) is the 802.1X method where a device proves its identity with a certificate instead of a password. RADIUS is the server that checks that certificate and allows or rejects the connection. SCEP (RFC 8894) is the protocol an MDM uses to have each device request its own certificate from a certificate authority (CA).

The underlying problem is structural. Apple, Windows and Android devices each accept one MDM at a time. When a device leaves the old MDM, the WiFi profile and certificate that MDM installed usually leave with it. If the secure network was the device's only route to the new MDM, the device is stranded.

What does a WiFi certificate outage look like mid-migration?

Certificate faults rarely look like certificate faults to the person holding the device. A teacher sees an iPad that will not join the staff network. A finance manager sees a laptop asking for a password it never needed before. Two patterns matter most. A failure on one device straight after it changed MDM points to Fix 1. A failure across a whole wave at once points to Fix 2, because that wave shares one CA.

WiFi certificate symptoms during an MDM migration Data as of 2026-06-10
SymptomLikely causeFixWhere to look
Secure SSID missing from saved networksOld MDM unenrolled; its profile and certificate went with itFix 1Installed profiles; Purple MDM enrolment status
Prompt for a username and password on a network that used to connect silentlyNo managed WiFi profile, so the device falls back to manual entryFix 1Installed profiles; netsh wlan show profiles
Every device in a wave fails within secondsRADIUS does not trust the new issuing CAFix 2RADIUS authentication log
Enrolled device has no new certificateSCEP request failed: endpoint, challenge or CA templateFix 2Purple MDM device detail
Prompt to trust a server certificateWiFi profile lacks server trust settingsFix 3WiFi payload trust anchors and server names
Connects but lands on the wrong VLANRADIUS policy matches on an old issuer or SAN formatFix 3RADIUS policy and accounting log
Device switched off during the move now failsOld CA retired or certificate expired before it checked inFix 1Certificate expiry; RADIUS trust list
Work down the rows in order and stop at the first match.

Which cause should you check first?

Work the causes in order of likelihood, not in order of interest. Early removal comes first because the migration itself creates it: every device passes through a moment with no managed WiFi profile. The trust fault comes second because one RADIUS setting affects every new certificate. Profile mismatches come third because they usually hit one platform or one payload.

Before you open a log, answer two questions per device. Does it still have a managed WiFi profile? Does it hold a certificate from the issuer you expect? The tree below runs that check.

Why has this device dropped off the secure WiFi?

See every path as a list
Does the device still list a managed WiFi profile for the secure SSID?
  • Yes: Does the device hold an in-date certificate from the new CA?
    • Yes: Does the RADIUS log reject the certificate issuer?
      • Yes: RADIUS does not trust the new CA (Fix 2) Add the new root and intermediate alongside the old chain.
      • No: Profile or policy mismatch (Fix 3) Check server trust, the certificate reference and SAN-based policy rules.
    • No: SCEP issuance failed (Fix 2) Check the SCEP endpoint, challenge and CA template, then re-stage to the affected group.
  • No: Is the device enrolled in Purple MDM?
    • Yes: Payload not yet installed (Fix 1) Read the failed check in Purple MDM, correct scope or connectivity and re-stage.
    • No: Stranded between MDMs (Fix 1) Connect through the onboarding SSID or a wired port, then enrol in Purple MDM.

Fix 1: the old MDM left before the new certificate arrived

How to confirm it

On an iPhone, iPad or Mac, open the device management section of Settings or System Settings. If the old MDM profile is gone and no Purple MDM profile is listed, the device has no WiFi payload and no identity certificate. On Windows, netsh wlan show profiles no longer lists the enterprise SSID. In Purple MDM, the device shows as not enrolled, or shows a WiFi or certificate payload that has not installed. Purple MDM explains the failed check in plain English.

How to recover the device

Give the device a route to enrolment that does not need a certificate. Three routes work:

  • An onboarding SSID secured with iPSK (an individual pre-shared key per device or group) or a captive portal (a web page shown before access is granted). Restrict it to the enrolment endpoints.
  • A wired Ethernet port for Macs and Windows laptops.
  • For Android Enterprise fully managed devices, which need a factory reset to change management, a provisioning QR code that carries the onboarding network.

For Apple devices bought through Apple School Manager or Apple Business Manager, reassign each device to the Purple MDM server there first. Otherwise automated enrolment returns it to the old MDM after a reset.

Once enrolled, the device requests a fresh certificate through the new SCEP payload. It then receives the WiFi profile that references that certificate and rejoins the secure SSID. Move it off the onboarding network as soon as the check passes.

Fix 2: RADIUS does not trust the new certificate authority

How to confirm it

The signature is a whole wave failing together while the devices look healthy. Each device is enrolled, holds a certificate and has the WiFi profile. Yet the connection fails within seconds. The RADIUS log shows the rejection, usually naming an unknown or untrusted issuer. On Windows Server NPS, look for event 6273 in the Security log.

Read the issuer on the device's certificate and compare it with the chain your RADIUS server trusts. If the issuer is the new CA and RADIUS trusts only the old one, you have found the fault.

How to fix it

Add the new root and any intermediate CA to the RADIUS trusted list. Keep the old chain trusted too, because devices still on the old MDM depend on it. Both chains stay trusted until the last device has moved. The principle is identical whether RADIUS runs on premises or as a cloud RADIUS service such as Purple Access.

When the certificate never arrived

A related fault sits one step earlier: the SCEP request failed, so there is nothing to trust. Typical reasons are an unreachable SCEP endpoint, a wrong or expired challenge, or a CA template that rejects the subject format. The device shows the WiFi payload waiting on its certificate. Correct the SCEP payload, then re-stage it to the affected group only.

Fix 3: the new WiFi profile does not match the certificate or the server

Server trust

EAP-TLS is mutual. The device proves itself to RADIUS, and RADIUS proves itself with its own server certificate. The new WiFi profile must name the CA that signed the server certificate and the server names to accept. On Apple, those are the trust anchors and TLSTrustedServerNames in the WiFi payload. On Windows, they sit in the server validation section of the WLAN profile. Recent Android releases refuse to save an enterprise network without a CA certificate and a domain. When these are missing, people see a trust prompt, or the handshake fails silently.

Identity and policy matching

The WiFi payload must point at the certificate the SCEP payload created. On Apple, the WiFi payload references the certificate payload by its UUID. A broken reference means the device sends no certificate at all.

Then check the certificate contents. Suppose the old CA put the device serial in the subject alternative name (SAN) and the new one puts an email address there. Any RADIUS policy matching on SAN will reject the device or assign the wrong VLAN (a virtual LAN that separates traffic). Lookups against Microsoft Entra ID, Okta or Google Workspace fail the same way. Align the SAN format with the policy before the wave moves.

Leftover profiles

A manually installed profile for the same SSID can take priority over the managed one. Remove it and let the managed profile reconnect.

How do you read the device and RADIUS logs?

Start on the device, then confirm on RADIUS. The commands below are standard platform tools, shown as examples.

# Example: macOS - identities, installed profiles, recent 802.1X client activity
security find-identity -v
sudo profiles show -type configuration
log show --last 30m --predicate 'process == "eapolclient"'
# Example: Windows - machine certificates, saved WiFi profiles, WLAN events
certutil -store My
netsh wlan show profiles
Get-WinEvent -LogName "Microsoft-Windows-WLAN-AutoConfig/Operational" -MaxEvents 20

In the WLAN-AutoConfig log, event 8001 is a successful connection and 8002 a failed one. To read any exported certificate, check issuer, subject and expiry together:

# Example: inspect an exported certificate
openssl x509 -in device.pem -noout -issuer -subject -enddate

RADIUS wording differs by product. The lines below are an illustrative example only, not real output from any product.

# Illustrative example only - wording varies by RADIUS server
Reject: EAP-TLS client certificate issuer not trusted (issuer CN=New-Issuing-CA)
Reject: EAP-TLS handshake ended - client sent no certificate
Reject: EAP-TLS handshake ended - client rejected server certificate
Accept: EAP-TLS, identity host/LAB-MAC-014, issuer CN=New-Issuing-CA

Map each pattern back to a fix. An untrusted issuer is Fix 2. No client certificate means Fix 1, or a broken certificate reference under Fix 3. A client rejecting the server certificate is server trust under Fix 3. An accept followed by the wrong VLAN is a policy mismatch under Fix 3.

How do you keep every certificate valid on the next migration?

The order matters more than any single setting: trust before you move, and move before you retire. Purple MDM previews every change, stages it to a group you choose and keeps it restorable. A payload mistake therefore reaches a test group, not the whole estate.

Migration order that keeps every WiFi certificate valid

  1. Step 1: Record what the old MDM issues

    For each SSID, note the WiFi payload, SCEP or PKCS settings, CA chain, SAN format and certificate expiry. Purple MDM imports from Jamf, Intune and JumpCloud.

    Check it worked: You can name the CA, SAN format and expiry for every device group.

  2. Step 2: Trust the new CA on RADIUS first

    Add the new root and intermediate alongside the old chain. Mirror any policy that matches on issuer or SAN.

    Check it worked: A test certificate from the new CA authenticates before any device moves.

  3. Step 3: Stage the new payloads

    Build the SCEP and WiFi payloads in Purple MDM. Preview them, stage them to a test group and keep the restore point.

    Check it worked: A test device holds the new certificate and joins the secure SSID.

  4. Step 4: Open an onboarding path

    Keep an iPSK or captive portal SSID, or a wired port, that reaches enrolment endpoints and nothing internal.

    Check it worked: A device with no certificate can enrol but cannot reach internal systems.

  5. Step 5: Move one wave at a time

    Unenrol from the old MDM, enrol in Purple MDM and confirm the certificate and WiFi profile before the next wave.

    Apple

    One MDM at a time. Reassign the device in Apple School Manager or Apple Business Manager first.

    sudo profiles show -type configuration

    Windows

    Confirm the certificate and the saved profile.

    certutil -store My
    netsh wlan show profiles

    Android

    Fully managed devices need a reset. Put the onboarding network in the provisioning QR code.

    Check it worked: Every device in the wave authenticates with the new issuer.

  6. Step 6: Retire the old CA last

    Remove the old chain from RADIUS only when the last device reports a new certificate and old certificates are revoked or expired.

    Check it worked: No accepted authentication in the RADIUS log uses the old issuer.

The monitoring signal

Watch the RADIUS accept and reject counts split by certificate issuer. During a wave, accepts for the new issuer should rise as accepts for the old issuer fall, with rejects flat. A spike in new-issuer rejects means Fix 2. A device that vanishes from both counts means Fix 1. Alongside that, watch certificate expiry in the Purple MDM inventory. Device health feeds Purple Access, so an expiring certificate shows up before anyone files a ticket. For the wider plan, see our device management guides.

Key terms

IEEE 802.1X
The IEEE standard for port-based network access control. It defines how a device authenticates through EAP before an access point grants network access, and it underpins WPA2-Enterprise and WPA3-Enterprise. Your enterprise access points already support it, so an MDM migration changes certificates and RADIUS trust rather than hardware.
EAP-TLS
The Extensible Authentication Protocol method defined in RFC 5216. The device and the authentication server prove their identities to each other with X.509 certificates in a TLS handshake, with no password exchanged. Because EAP-TLS is mutual, the new WiFi profile must trust the server certificate as well as present a valid device certificate, which is the root of Fix 3.
RADIUS
Remote Authentication Dial-In User Service, specified in RFC 2865. It is the server that receives the 802.1X authentication, checks the device certificate against its trusted CA list and returns accept or reject plus policy such as VLAN. One RADIUS trust setting affects every new certificate, so trusting the new CA first prevents whole waves failing together.
SCEP
Simple Certificate Enrolment Protocol, specified in RFC 8894. It lets a managed device generate its own key pair and request a signed certificate from a certificate authority using a challenge issued through the MDM payload. A failed SCEP request, from an unreachable endpoint, a wrong challenge or a rejecting CA template, leaves the WiFi payload waiting on a certificate that never arrives.
Certificate authority (CA)
The issuer that signs device certificates, organised as a chain of root and intermediate certificates. RADIUS accepts a device certificate only if its issuing chain is on the trusted list. Running the old and new CA chains side by side on RADIUS keeps both migrated and unmigrated devices connected until the last device moves.
Subject alternative name (SAN)
An X.509 certificate extension that carries identifiers such as a device serial or an email address. RADIUS policies and identity lookups often match on its format. If the new CA writes a different SAN format from the old one, SAN-based RADIUS policy rejects devices or assigns the wrong VLAN, as do lookups against Microsoft Entra ID, Okta or Google Workspace.
iPSK
Individual pre-shared key: a WPA2 or WPA3 personal-mode passphrase issued per device or per group rather than shared across a whole SSID. An iPSK onboarding SSID gives a device with no certificate a route to enrol in Purple MDM without exposing internal systems.
Captive portal
A web page shown to a device after association and before network access is granted, used to gate access on an open or onboarding SSID. A captive portal SSID restricted to enrolment endpoints is one of three recovery routes for a device stranded between MDMs.
VLAN
A virtual LAN defined by IEEE 802.1Q that separates traffic on shared infrastructure. RADIUS can assign a VLAN per authentication in its accept response. A device that connects but lands on the wrong VLAN usually has a RADIUS policy still matching the old issuer or SAN format.
NPS event 6273
The Windows Server Network Policy Server event written to the Security log when NPS denies network access to a user or device. On Windows Server NPS, this is where a RADIUS rejection of an untrusted new issuer appears, confirming Fix 2.
GDPR Article 32
The article of Regulation (EU) 2016/679 requiring controllers and processors to implement security of processing appropriate to the risk. Certificate-based WiFi supports Article 32 by removing shared passwords and allowing single-device revocation, but it does not make you compliant on its own.

Worked examples

A whole wave of devices fails to join the secure SSID within seconds of moving to the new MDM. Each device is enrolled, holds a certificate and has the WiFi profile installed.

Healthy-looking devices failing together point to Fix 2, because the wave shares one CA. The team read the issuer on a device certificate and compared it with the chain RADIUS trusts. The RADIUS log named an untrusted issuer; on Windows Server NPS this appears as event 6273 in the Security log. The issuer was the new CA, and RADIUS trusted only the old one. The fix was to add the new root and intermediate CA to the RADIUS trusted list while keeping the old chain trusted, because devices still on the old MDM depend on it. Both chains stay trusted until the last device has moved, whether RADIUS runs on premises or as a cloud service such as Purple Access.

After migration, devices authenticate but land on the wrong VLAN or get rejected. The old CA put the device serial in the SAN and the new CA puts an email address there.

This is a policy mismatch under Fix 3. Any RADIUS policy matching on SAN no longer recognises the new format, so it rejects the device or assigns the wrong VLAN. Lookups against Microsoft Entra ID, Okta or Google Workspace fail the same way. The RADIUS log pattern is an accept followed by the wrong VLAN. The team aligned the SAN format on the new certificates with the existing RADIUS policy, or mirrored the policy to match the new format. The lesson for later waves is to make this alignment before the wave moves, as part of trusting the new CA on RADIUS first.

Frequently asked questions

Can we switch MDM without a WiFi outage?

Yes, provided each device's gap is no longer than enrolment itself. Apple, Windows and Android devices accept one MDM at a time, so every device briefly has no managed WiFi profile. Trust the new CA on RADIUS first, provide an onboarding network and move in waves. In that order, nobody loses access for longer than it takes their device to enrol and receive its new certificate.

Can we move existing certificates to the new MDM instead of reissuing them?

No, reissue them. A SCEP certificate's private key is generated on the device through the old MDM's payload. On Apple devices, removing that payload removes the certificate. On every platform, a new MDM cannot renew a certificate it did not issue. Reissuing through Purple MDM also lets you correct the SAN format and validity period at the same time.

Which MDMs can Purple MDM import from?

Purple MDM imports from Jamf, Intune and JumpCloud. You start from what the old platform configured, not a blank console. Purple MDM then manages Apple devices through declarative management, Windows through Windows MDM, Android through Android Enterprise and ChromeOS through Chrome management. The Purple agent covers the remaining endpoints, so every device sits in one console.

Will this work with the access points we already own?

Yes. EAP-TLS runs over IEEE 802.1X, which enterprise access points support, so the migration changes certificates and RADIUS trust rather than hardware. Purple Access is hardware-agnostic and works with Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Ubiquiti UniFi, Cambium, Extreme and Fortinet. Your SSIDs, VLAN plan and access point configuration can stay unchanged throughout.

Do we need a new certificate authority or RADIUS server?

No, not necessarily. If your existing CA can issue certificates through SCEP to the new MDM, keep it. Only the SCEP connection changes, and RADIUS trust stays the same, which removes Fix 2 from your risk list. If you do move to a new CA, run both chains side by side on RADIUS until the last old certificate expires or is revoked.

Does certificate-based WiFi help with GDPR?

It supports GDPR Article 32, which requires security appropriate to the risk, but it does not make you compliant on its own. EAP-TLS removes shared passwords, ties each connection to a known device and lets you revoke one certificate when a device goes missing. Keeping certificates valid through the migration also stops staff falling back to weaker shared networks.

Sources

See every device in one console, on your own fleet

Tell us which devices you run and what you manage them with today, and the Purple team shows you Purple MDM on a fleet like yours.

Tell us your fleet. We show you Purple MDM running it.