Get Started Contact Sales
Blog

802.1X supplicant configuration: Windows, macOS, iOS, Android

By:
November 3, 2026
Last updated: November 5, 2026
802.1X configuration
SUMMARY.

The 802.1X supplicant is the client side of WiFi authentication. It decides whether a good RADIUS setup is safe or broken. On every platform, one setting matters most: server-certificate validation. The client must trust the CA that signed the RADIUS certificate and check the server name. Skip it, and the device will connect to a rogue server. This guide covers Windows, macOS, iOS and Android, for PEAP, EAP-TTLS and EAP-TLS. It also shows how to test the result.

IN THIS ARTICLE

To configure an 802.1X supplicant, choose the EAP method (EAP-TLS, PEAP or EAP-TTLS), install the CA certificate that signed your RADIUS server certificate, and enter the expected server name, so the client validates the server before it sends credentials. Push these settings in a WiFi profile through Group Policy or your MDM, not by hand. Server-name validation is the setting most rollouts skip.

The supplicant is the client side of 802.1X. It is where a good RADIUS setup is made safe or left broken. This guide configures the supplicant on Windows, macOS, iOS and Android, for PEAP, EAP-TTLS and EAP-TLS, with the actual settings each platform uses. It ends with the one setting most rollouts get wrong. For the protocol itself, start with 802.1X explained.

The one setting that matters on every platform

Before the per-platform steps, understand the setting they all share: server-certificate validation.

On every client, the supplicant must do two things: trust the certificate authority that signed the RADIUS server certificate, and validate the server name against that certificate.

If you skip server-name validation, the client will connect, and it will connect to a rogue RADIUS server just as happily as to the real one. For PEAP and EAP-TTLS, that is the whole attack: the client sends its credentials to the attacker. For EAP-TLS, no password is exposed, because the client proves itself with a certificate, but without validation the device can still join a rogue network. Every section below configures this. It is not optional.

Before you start

  • The CA certificate that signed your RADIUS server certificate (the public certificate, not the key).
  • The expected RADIUS server name: the Subject CN or a Subject Alternative Name on that certificate.
  • The EAP method you decided on (see EAP-TLS vs PEAP and EAP-TLS vs EAP-TTLS).
  • For EAP-TLS, a client certificate for each device.
  • A device management tool if you have more than a handful of devices. Configuring supplicants by hand does not scale.

A note on EAP type numbers

Apple and several tools identify EAP methods by number. You will see these in profiles:

EAP methodType number
EAP-TLS13
EAP-TTLS21
PEAP25
EAP-FAST43

macOS and iOS profiles list them in an AcceptEAPTypes array. Get the number wrong and the client offers a method the server will not accept.

Windows

Windows has a built-in supplicant. Configure it in the UI for a test, and push a profile for a fleet.

Manual (test):

  • Set the WLAN AutoConfig service to Automatic and running.
  • Add the network, and set security to WPA2-Enterprise or WPA3-Enterprise.
  • Choose the EAP method: Microsoft PEAP, or “Smart Card or other certificate” for EAP-TLS.
  • In the EAP properties, tick Verify the server’s identity by validating the certificate.
  • Tick Connect to these servers and enter the expected server name.
  • Select the trusted root CA under Trusted Root Certification Authorities.
  • For PEAP, set the phase-2 authentication to EAP-MSCHAPv2, and untick “Automatically use my Windows logon” unless you intend single sign-on.
  • For EAP-TLS, select the client certificate to present.

At scale: deploy a wireless profile by Group Policy or MDM. The profile is an XML file with an <EAPConfig> block. The two lines that make it safe are the server-validation settings:

<ServerValidation>
<DisableUserPromptForServerValidation>true</DisableUserPromptForServerValidation>
  <ServerNames>radius.example.com</ServerNames>
  <TrustedRootCA> (thumbprint of your CA) </TrustedRootCA>
</ServerValidation>

DisableUserPromptForServerValidation set to true stops Windows from letting a user click through an unknown server. Import a saved profile with netsh wlan add profile filename="corp-wifi.xml" user=all.

Windows 11 note. Credential Guard is turned on by default on eligible Windows 11 22H2 and later Enterprise and Education devices. It blocks single sign-on with MSCHAPv2, so PEAP-MSCHAPv2 can no longer reuse the saved Windows sign-in, and users are prompted or fail to connect. On those devices, plan for EAP-TLS.

macOS

macOS uses a configuration profile (.mobileconfig) with a WiFi payload.

Key fields inside the EAPClientConfiguration dictionary:

  • AcceptEAPTypes: the method number(s), 13 for EAP-TLS, 21 for EAP-TTLS, 25 for PEAP.
  • TLSTrustedServerNames: the expected RADIUS server name(s). This is server-name validation.
  • PayloadCertificateAnchorUUID: the UUID of the Certificate payload that carries your CA, so the CA is trusted for this network.
  • TTLSInnerAuthentication (EAP-TTLS only): MSCHAPv2 or PAP.

For EAP-TLS, add an identity payload (PKCS#12 or SCEP) with the client certificate, and reference it with PayloadCertificateUUID in the WiFi payload.

Sign the profile and deploy it through your MDM. The first manual connection would otherwise prompt to trust the certificate; a profile pins the trust and removes the prompt.

iOS

iOS uses the same profile mechanics as macOS, and it is strict, which is a feature.

  1. Build a configuration profile with a WiFi payload.
  2. Set AcceptEAPTypes to the method number.
  3. Add the CA as a Certificate payload and reference it in PayloadCertificateAnchorUUID.
  4. Set TLSTrustedServerNames for server validation.
  5. For EAP-TLS, deliver the client certificate with a SCEP payload (dynamic per-device issuance) or a PKCS#12 identity, referenced by PayloadCertificateUUID.
  6. Deploy the profile through your MDM. Apple Business Manager enrolls company-owned devices into it automatically.

Without a profile, iOS shows a trust prompt on first join, and users tap through it. A profile pre-installs the trust and removes the decision.

Android

Modern Android (11 and later) requires explicit CA and domain settings: “Do not validate” is blocked or strongly discouraged, which is correct.

  • Choose the enterprise network.
  • Set the EAP method (PEAP, TTLS or TLS) and, for PEAP and TTLS, the phase-2 authentication (MSCHAPv2, or PAP for TTLS).
  • Select the CA certificate. Never ship “Do not validate.”
  • Enter the Domain: this is server-name validation on Android.
  • For EAP-TLS, install and select the client certificate.

Push these settings with Android Enterprise for a managed fleet. Modern Android randomises its MAC address per network by default, so avoid any design that ties access to a MAC address. Identify the device by its certificate or its 802.1X identity instead.

Test and read the result

Do not trust a config you have not tested against a wrong server.

  • Good path: a successful join produces an Access-Accept in the RADIUS log for the right identity.
  • EAP end-to-end test: use eapol_test (from wpa_supplicant) with a config file that names the method and the CA:
network={
  ssid="CORP"
  key_mgmt=WPA-EAP
  eap=PEAP            # or TLS, or TTLS
  identity="user@example.com"
  ca_cert="/etc/certs/ca.pem"
  phase2="auth=MSCHAPV2"
}

For EAP-TTLS, set eap=TTLS and phase2="auth=PAP" or "auth=MSCHAPV2". For EAP-TLS, set eap=TLS, remove password and phase2, and add client_cert and private_key.

Run eapol_test -c peap.conf -a <radius-ip> -s <secret> and read the result. It exercises the full EAP exchange, which radtest does not: radtest is limited to PAP, CHAP, MS-CHAP and EAP-MD5.

  • Negative test: change domain_suffix_match to a wrong name and run eapol_test again; it must fail. Then point a real client at a wrong server name and confirm it refuses. If it connects anyway, server-name validation is off. Fix it before you roll out.
  • One device per platform. iOS and Android are where PEAP and EAP-TTLS misconfigurations surface first.

The scalable alternative

Configuring supplicants by hand does not scale, and the failure mode, a fleet with validation switched off, is invisible until someone attacks it. Push the configuration instead: a WiFi profile through Group Policy or your MDM for company devices, or a Passpoint profile, which provisions the credential, pins the trusted server certificate and sets the server name, so the validation you would otherwise configure by hand is built in.

Cloud4Wi Cloud NAC removes the manual step for the whole fleet. Managed devices get certificates from the Cloud4Wi CA via SCEP through your MDM, and connect with EAP-TLS. Personal devices join through the Cloud4Wi BYOD app or a desktop onboarding link, with no MDM enrollment. Where certificates are not used, devices sign in with PEAP or EAP-TTLS, using credentials Cloud4Wi issues, never the directory password. Headless and IoT devices use PPSK.

Frequently asked questions

Almost always server-certificate trust. Windows may already trust your internal CA through group policy, while iOS does not until you install the CA. iOS is also strict about server-name validation. Push a configuration profile to iOS that installs the trusted CA and sets the expected server name, and the connection will match Windows.
Server-name validation makes the client check that the RADIUS server certificate matches an expected name before sending credentials. Without it, the client will trust a rogue server and hand over its username and password. It is the single setting that makes PEAP and EAP-TTLS safe, and the one most manual rollouts skip.
Only for EAP-TLS, which needs a client certificate per device. PEAP and EAP-TTLS need only the server certificate plus the CA installed on each client for validation. Either way, deploy the CA and the profile through a device management tool rather than by hand, so validation is enforced consistently.
Set the EAP method, select the CA certificate, and enter the domain for server validation — never "do not validate." Push this through Android Enterprise for a managed fleet. Because modern Android randomises its MAC by default, avoid designs that tie access to a MAC address; identify the device by its certificate or its 802.1X identity instead.
Yes. Use a device management tool to push WiFi profiles, or use Passpoint, which provisions the credential and pins the server certificate automatically. Passpoint bakes server-name validation into the profile, so the setting that manual rollouts skip is enforced by default. Cloud4Wi delivers certificates to managed devices through your MDM, and personal devices join through the Cloud4Wi BYOD app.

Get the latest from Cloud4Wi

JOIN THE CONNECTED FUTURE