PEAP (Protected Extensible Authentication Protocol)
What is PEAP?
PEAP, short for Protected Extensible Authentication Protocol, lets users join WPA2-Enterprise or WPA3-Enterprise WiFi with a username and password. The RADIUS server presents a certificate. The device checks it and opens an encrypted TLS tunnel. The password exchange then runs inside that tunnel. Cisco, Microsoft and RSA Security developed PEAP in the early 2000s. It is still common wherever Windows and Active Directory run the network.
PEAP is one of several methods that run inside 802.1X, the IEEE standard for port-based access control. The decision itself happens on a RADIUS server, on premises or delivered as cloud RADIUS. PEAP only defines how the device proves who it is.
How does PEAP work?
PEAP runs in two phases. Phase 1 builds a secure tunnel. Phase 2 checks the user inside it.
- The device starts 802.1X. It joins the SSID. The access point relays Extensible Authentication Protocol (EAP) messages to the RADIUS server.
- The server shows its certificate. The device checks that a trusted certificate authority (CA) signed it. It also checks the server name.
- Both sides build a TLS tunnel. This happens only if the certificate check passes.
- The user proves their identity inside the tunnel. With PEAP-MSCHAPv2, the device answers a challenge derived from the user's password.
- The server decides. It checks the answer against a directory such as Active Directory. It returns Access-Accept with a VLAN or role, or Access-Reject.
The client never needs its own certificate. That is why PEAP is quick to roll out. It is also why its security depends on step 2.
Which PEAP versions and inner methods exist?
When people say "PEAP", they almost always mean PEAPv0 with MSCHAPv2. Two other variants exist.
Variant | Inner method | User credential | Where you see it |
|---|---|---|---|
PEAPv0 (PEAP-MSCHAPv2) | Microsoft Challenge Handshake Authentication Protocol v2 | Password | Built into Windows, macOS, iOS and Android. The default "PEAP". |
PEAPv1 (PEAP-GTC) | Generic Token Card | Password or one-time token | Cisco-led. Used with LDAP or token servers. Limited native client support. |
PEAP-TLS | EAP-TLS inside the tunnel | Client certificate | A Windows option. Certificate login with extra privacy for the identity. |
Microsoft publishes the PEAP specification as MS-PEAP. PEAP never became an IETF standard of its own. The EAP framework it extends is RFC 3748.
Is PEAP secure?
PEAP is secure only when every device validates the server certificate. The tunnel stops passive sniffing. It does not stop a device from talking to the wrong server.
Here is the common attack. Someone sets up a fake access point with the same SSID. It points to a rogue RADIUS server. If the device accepts any certificate, it opens a tunnel to the attacker. The attacker captures the MSCHAPv2 exchange and cracks it offline. MSCHAPv2 has known cryptographic weaknesses. Microsoft documented them in Security Advisory 2743314 in 2012.
Microsoft now goes further. Its Credential Guard guidance recommends moving WiFi from PEAP-MSCHAPv2 to certificate-based methods. Credential Guard is on by default after upgrades to Windows 11, version 22H2. With it running, MSCHAPv2 networks lose single sign-on. Users must type their password again in every new Windows session.
Passwords also bring their usual problems. They get phished, reused and shared. PEAP cannot fix that, because the password is the credential.
How do you run PEAP safely?
If you must keep PEAP for now, close the gaps you control.
- Push the WiFi profile centrally. Use your MDM or Group Policy. Do not let users configure the network by hand.
- Pin the CA and the server name. The profile should trust one root CA and one exact RADIUS server name.
- Turn off "trust this server" prompts. A user who taps "Trust" on a fake certificate defeats PEAP. Our 802.1X supplicant configuration guide shows the exact setting on each operating system.
- Renew the server certificate on time. An expired certificate breaks every login at once.
- Protect RADIUS transport. Use long, unique shared secrets per device, or RadSec.
- Write the exit plan. Treat PEAP as a bridge to certificates, not a destination.
PEAP vs EAP-TLS vs EAP-TTLS: which should you use?
The three methods differ in one thing above all: what the user presents.
Criterion | PEAP (MSCHAPv2) | EAP-TTLS (PAP) | EAP-TLS |
|---|---|---|---|
User credential | Password | Password | Certificate |
Server certificate | Required | Required | Required |
Client certificate | No | No | Yes |
Phishing resistance | Low | Low | High |
Works with cloud-only identity (Entra ID, Google Workspace) | No | Only through a password check the directory allows | Yes, with SSO-based certificate enrollment |
Rollout effort | Low | Low | Higher, unless onboarding is automated |
EAP-TLS is the strongest choice for managed and BYOD devices. PEAP stays acceptable for a legacy Windows domain with strict profile control. For the full decision, read EAP-TLS vs PEAP: choosing your 802.1X method.
Why does PEAP struggle with cloud identity providers?
PEAP-MSCHAPv2 needs a hash of the user's password on the RADIUS side. Active Directory can provide it through Windows Network Policy Server (NPS). Microsoft Entra ID and Google Workspace do not expose these hashes.
So a company moving to a cloud identity provider hits a wall. It can keep an on-premises domain controller just for WiFi. It can store a second copy of every password with a RADIUS vendor. Or it can move users to certificates issued through single sign-on. Only the third option removes the password from WiFi.
How does Cloud4Wi help you move beyond PEAP?
Two things keep teams on PEAP: the RADIUS server and the certificate rollout. Cloud4Wi removes the RADIUS server and runs the certificate authority for you.
Built-in cloud RADIUS. 802.1X authentication runs on the Cloud4Wi platform. There is no NPS or FreeRADIUS server to patch.
Certificates, and BYOD without MDM enrollment. Managed devices get certificates from the Cloud4Wi CA via SCEP through your MDM, and connect with EAP-TLS. Personal laptops and phones join through the Cloud4Wi BYOD app or a desktop onboarding link, after one sign-in with Microsoft Entra ID, Okta, Google Workspace or any SAML 2.0 identity provider, and reconnect automatically at every site.
A path for devices that cannot do 802.1X. Printers, cameras and IoT get a unique key through PPSK. Cloud NAC applies the same role-based policy to every device, however it signed in.
PEAP only where certificates are not used. Cloud4Wi supports EAP-TLS for managed devices, and PEAP or EAP-TTLS with credentials Cloud4Wi issues, never the directory password, where certificates are not used. Passpoint carries EAP-TLS or EAP-TTLS, never PEAP, and the profile pins the server certificate, so the device cannot be sent to a fake server.
Planning the move off PEAP? Our guide to PEAP-MSCHAPv2 risk and migration walks through it device type by device type.
Frequently asked questions
Ready to reimagine your WiFi?
Spin up a 30-day free trial of Guest WiFi or MDU WiFi in minutes, or
book a Cloud NAC demo with our team of WiFi experts.
- SOC 2 Type II
- No credit card required
- GDPR & global compliance
- No rip-and-replace

