For an 802.1X Wi-Fi SSID, how do EAP-TLS, PEAP, EAP-TTLS and TEAP differ in what each demands of the client fleet?
answer
- the method must export keys
- certificate on every client
- password inside a server-authenticated tunnel
- machine then user in one login
basics
~20 sEAP-TLS needs a certificate and private key on every client and no password. PEAP and EAP-TTLS need only a server certificate and run a password method inside a TLS tunnel. TEAP can chain machine and user authentication in one tunnel.
solid answer
~40 sAny method used on Wi-Fi must derive keys (an MSK of at least 64 octets, per RFC 4017) and support mutual authentication, which rules out EAP-MD5 and leaves the TLS-based methods. **EAP-TLS** (RFC 5216, TLS 1.3 in RFC 9190) is certificate-based mutual authentication: every client needs its own certificate and private key, so it needs a PKI and enrolment, but there is no password to leak or change. **PEAP** (no IETF standards-track RFC) and **EAP-TTLS** (RFC 5281) authenticate the server by certificate and then carry a password method inside the tunnel, so they reuse directory passwords and deploy fast, at the cost of password-change friction and dependence on clients validating the server. **TEAP** (RFC 7170) runs inner methods in sequence, so one login can prove both the machine and the user.
go deeper
Recall that EAP-TLS uses certificates on both sides while PEAP uses a username and password inside a protected tunnel.
Explain what each of the four methods asks of the client: certificate, password, or both in sequence, and why any Wi-Fi method must derive keys and authenticate mutually.
Weigh the operational cost of each method: certificate issuance and renewal for EAP-TLS, password-change lockouts and server-validation dependence for the tunnelled password methods, and supplicant support for TEAP.
Pick a standard method for the fleet and a defined exception path, and own what that choice costs in PKI, enrolment and help-desk load across managed and unmanaged devices.
## Why the EAP method is a Wi-Fi decision Enterprise Wi-Fi does not fix how a user proves who they are: IEEE 802.1X carries **EAP**, and EAP is a framework that runs one of many **methods**. The SSID configuration, the authentication server and every client must agree on the method, so choosing one decides what every laptop, phone and scanner in the fleet has to hold and support. Not every EAP method can secure a WLAN. RFC 4017 sets the requirements for methods used in wireless LAN authentication, among them: - **Key derivation**: the method must generate keying material, exporting a Master Session Key (MSK) of at least 64 octets, because the WLAN's PMK is taken from it. - **Mutual authentication**: the client must be able to authenticate the server as well as the reverse. - **Resistance to dictionary attacks** and protection against man-in-the-middle attacks. EAP-MD5 (MD5-Challenge in RFC 3748) fails these: its security claims list no key derivation and no mutual authentication, so it cannot key a WLAN. The methods that pass are all built on **TLS**. ## The four methods in use **EAP-TLS** (RFC 5216; TLS 1.3 in RFC 9190) is certificate-based mutual authentication. Both the server and **every client** present a certificate, and the client proves it holds the matching private key. There is no password. **PEAP** builds a TLS tunnel authenticated only by the server's certificate, then runs an inner password method, commonly MS-CHAP-V2. It has no IETF standards-track RFC; RFC 9427 refers to it as a vendor-specific method that depends on TLS. Client supplicants commonly support it (wpa_supplicant among them), and it reuses existing directory usernames and passwords. **EAP-TTLS** (RFC 5281) also builds a server-authenticated tunnel, then carries either another EAP method or a legacy password protocol (PAP, CHAP, MS-CHAP or MS-CHAP-V2), so it lets password databases that only support those protocols be used. Client certificates are optional. **TEAP** (RFC 7170) builds a TLS tunnel and runs one or more inner methods **in sequence**, binding each to the tunnel. Its RFC's own example runs EAP-TLS twice, first with machine credentials and then with user credentials, so one login can prove both the device and the person. It also defines a basic password exchange. wpa_supplicant configures TEAP machine credentials with a `machine_` prefix (for example `machine_identity`). RFC 9427 updates the TLS-based types (EAP-TTLS, TEAP and others) for TLS 1.3. ## What each demands of the fleet | | EAP-TLS | PEAP | EAP-TTLS | TEAP | |---|---|---|---|---| | Client credential | Own certificate and private key | Username and password | Usually username and password | Certificate, password, or both in sequence | | Server certificate | Yes | Yes | Yes | Yes | | Standard | RFC 5216, RFC 9190 | No IETF standards-track RFC | RFC 5281 | RFC 7170 | | Machine and user both | Separate authentications | Separate authentications | Separate authentications | One login, chained | | Fleet cost | PKI and per-device enrolment | Directory passwords, password-change friction | Supplicant support varies by platform | Newest; check supplicant and server support | The practical trade-offs: - **EAP-TLS** removes the password entirely and makes revocation a matter of one certificate, but every device needs a certificate issued and renewed, which needs an enrolment pipeline (covered with network-admission enrolment). Unmanaged devices are the hard part. - **PEAP and EAP-TTLS** deploy fastest because users already have passwords, but a password change can lock out devices that cached the old one, and the method's safety depends on every client validating the server certificate (covered with wireless admission). - **TEAP** is the option when policy needs both a trusted machine and a named user in one authentication. ## Telling which method is in use The SSID itself does not advertise the EAP method; the RSN element only says 802.1X (`00-0F-AC:1`, or `00-0F-AC:5` for the SHA-256 variant). The method is negotiated inside EAP and is visible in the client's supplicant profile and in the authentication server's logs. A client configured for one method and a server offering another fail at the EAP stage, before any four-way handshake. ## Changing the standard method without an outage One SSID can carry more than one method at once, because method choice happens inside EAP: the server proposes a method, and a peer that cannot use it answers with a **Nak** naming the type it wants (RFC 3748). That makes a staged change possible: 1. Inventory which methods every client platform's supplicant supports, including headless devices. 2. Enable the new method on the authentication server alongside the old one. 3. Push new supplicant profiles in waves and watch the server logs for which method each login used. 4. Remove the old method from the server once the logs show no one still using it.
- Why can't an SSID use EAP-MD5 even though it is a standard EAP method?RFC 3748 lists EAP-MD5's security claims as no key derivation and no mutual authentication. A WLAN needs the method to export a Master Session Key so the PMK can be taken from it, and RFC 4017 makes key derivation and mutual authentication mandatory for wireless methods. Without keys there is nothing for the four-way handshake to start from.
- Can the AP see which EAP method a client used?Not from the RSN element, which only advertises 802.1X. The AP relays the EAP packets, so a capture of them shows the method type, but the reliable record is the authentication server's log and the client's supplicant profile, where the method is configured.
- What changes for EAP methods with TLS 1.3?RFC 9190 profiles EAP-TLS for TLS 1.3, and RFC 9427 updates the other TLS-based types, including EAP-TTLS and TEAP, to use TLS 1.3's key derivation. Supporting it needs matching support on both the authentication server and the clients, so it is a fleet upgrade like any method change.
- PEAP and EAP-TLS both require a certificate on every client.
- Any EAP method, including EAP-MD5, can be used on a WPA2-Enterprise SSID.
- The access point's beacon shows which EAP method the network uses.
- EAP-TTLS can only carry inner EAP methods, never legacy password protocols.
- PEAP is defined in an IETF standards-track RFC like EAP-TLS.