How to set up EAP-TLS Wi-Fi and manage certificates on Android
EAP-TLS lets a device join Wi-Fi by proving its identity with a certificate, not a shared password. On managed Android devices, an EMM built on the Android Management API (AMAPI) configures it in the policy's network settings. The device needs three things: the certificate authority (CA) certificate behind your RADIUS server, the server domain to expect, and a client certificate with its private key. The profile is the easy part. The real work is issuing, renewing and replacing certificates before a device loses its only network.
Key facts
- EAP-TLS authenticates a device to Wi-Fi with a certificate, not a shared password.
- The device needs the CA certificate behind the RADIUS server, the expected server domain, and a client certificate with its private key.
DomainSuffixMatchis required. Android rejects an enterprise Wi-Fi configuration that leaves it out.- The
KeyPairAliasmethod keeps the private key on the device and needs Android 12 or later. TheRefmethod embeds a PKCS#12 file in the policy. - One PKCS#12 shared across a fleet gives every device the same identity, so a single device cannot be revoked.
- A new device needs a second network path to get its first certificate: a restricted provisioning SSID, cellular or Ethernet.
What does an Android device need for EAP-TLS Wi-Fi?
| Item | Purpose | Where it goes in policy |
|---|---|---|
| Server CA certificate | Lets the device trust your RADIUS server | A Server certificate, referenced by ServerCARefs |
| Server domain | Stops the device trusting any other server signed by that CA | DomainSuffixMatch |
| Client certificate and key | Proves the device's identity | ClientCertType of Ref or KeyPairAlias |
| Identity | The name the device presents | Identity |
| Security type | The Wi-Fi security mode | WPA-EAP, or WPA3-Enterprise_192 |
DomainSuffixMatch is not optional. Google's network guide states that an enterprise Wi-Fi configuration without it, or with an empty list, is treated as insecure and rejected by the platform.
How do you deliver the client certificate to an Android device?
Certificate in the policy (Ref) |
Key on the device (KeyPairAlias) |
|
|---|---|---|
| How it works | A PKCS#12 file with certificate and private key is embedded in the policy | The policy names a key that already exists in the device's KeyChain |
| Where the private key is created | Off the device. It travels inside the policy | On the device, or installed there by a certificate app |
| Android version | Any supported version | Android 12 or later |
| One certificate per device | Needs a policy per device, because a policy is shared by every device on it | Natural. Each device holds its own key |
| Renewal | Edit the policy | The certificate app installs a new key under the same alias |
Google encrypts the whole policy in its service and adds a second layer for passphrases and private keys. Even so, one PKCS#12 shared by a fleet gives every device the same identity. You cannot revoke a single device.
What does an EAP-TLS Wi-Fi policy look like?
This is Google's example for the key-alias method. The network block sits in the policy's openNetworkConfiguration field.
"openNetworkConfiguration": {
"Type": "UnencryptedConfiguration",
"NetworkConfigurations": [
{
"GUID": "a",
"Name": "Example A",
"Type": "WiFi",
"WiFi": {
"SSID": "Example A",
"EAP": {
"Outer": "EAP-TLS",
"Identity": "example",
"DomainSuffixMatch": ["example.com"],
"ServerCARefs": ["abc123"],
"ClientCertType": "KeyPairAlias",
"ClientCertKeyPairAlias": "key-alias"
},
"Security": "WPA-EAP"
}
}
],
"Certificates": [
{ "GUID": "abc123", "Type": "Server", "X509": "<base64 CA certificate>" }
]
}
The Type value at the top is correct as shown. The policy is already encrypted by the service, so the network block itself is not.
Who issues the client certificate?
Google's network guide documents how to reference a certificate, not how to obtain one. Issuance comes from your EMM's certificate feature or from your own tooling. The building blocks are these:
- An app that holds the
CERT_INSTALLdelegated scope can install and manage certificates on the device. Policy grants that scope. - The app requests a certificate from your CA, using whichever enrollment protocol the CA supports, and stores the key under an alias.
- The Wi-Fi configuration names that alias.
- For apps other than Wi-Fi,
choosePrivateKeyRulesmaps a key alias to the apps and URLs allowed to use it.
How does a new device get its first certificate?
There is a loop to break. The device needs a network to enroll and request a certificate, and it needs the certificate to join the network.
Give it a second path for the first hour: a provisioning SSID with a pre-shared key and restricted access, a cellular connection, or Ethernet. Once the certificate is installed, the EAP-TLS network takes over. Keep the provisioning path for recovery, and keep it restricted.
Why do Android devices drop off EAP-TLS Wi-Fi?
| Pattern | What happens | Prevention |
|---|---|---|
| A client certificate expires | The device drops off Wi-Fi and cannot fetch a new certificate over it | Renew well before expiry. Alert on certificates near their end date |
| The RADIUS certificate moves to a new CA | Every device rejects the server at once | Add the new CA to the policy first. Keep both until every device has synced |
| The RADIUS server name changes | DomainSuffixMatch no longer matches |
Add the new name to the policy before the change |
| A device was powered off through its renewal window | It returns with an expired certificate | Keep a recovery network available |
| Wi-Fi configuration is locked and the only network is wrong | Nobody on site can fix it | Enable networkEscapeHatchEnabled |
| The key alias in the policy does not exist on the device | The device reports that the alias matches no existing key | Install the key before applying the Wi-Fi policy |
KeyPairAlias on Android 11 or earlier |
The device reports non-compliance for API level | Use the Ref method, or update the device |
One more trap: if wifiConfigDisabled is true and the policy declares no networks, Wi-Fi is disabled outright.
What else hardens enterprise Wi-Fi on Android?
wifiSsidPolicy****. An allowlist of SSIDs the device may join. Android 13 or later, company-owned devices.minimumWifiSecurityLevel****. Refuses networks below a level, for example anything weaker than enterprise EAP. Android 13 or later.MACAddressRandomizationMode****. Set toHardwareif your network identifies devices by MAC address. Android 13 or later.configureWifi****. Stops users adding networks while letting them switch between configured ones. Android 13 or later.
For what happens when a certificate expires on a device that has been in storage, see Re-enrolling devices that have been offline for 90+ days.
Does AndroidNexus manage Wi-Fi certificates?
AndroidNexus delivers Wi-Fi settings with the policy. Certificate management is part of the Enterprise plan.
Frequently asked questions
Does Android Enterprise support EAP-TLS Wi-Fi?
Yes. AMAPI's network configuration supports EAP-TLS, along with PEAP, EAP-TTLS, EAP-SIM, EAP-AKA and EAP-PWD. Google added EAP-PWD in March 2026.
What is DomainSuffixMatch, and why is it required?
It is the server domain the device expects in the RADIUS server's certificate. Without it, the device would accept any server whose certificate chains to the trusted CA. Android rejects enterprise Wi-Fi configurations that leave it out.
Can I use SCEP with AMAPI?
AMAPI itself documents no enrollment protocol. Your EMM, or an app with the CERT_INSTALL scope, requests the certificate from your CA. Whether that request uses SCEP or something else depends on that software and your CA.
Should every device have its own certificate?
Yes, if you want to revoke one device without touching the rest. A certificate shared across a fleet is simpler to deploy and gives up that control.
Why did every device drop off Wi-Fi at the same time?
A fleet-wide drop usually starts on the server side: a new RADIUS certificate, a new CA, or a new server name. Individual drops usually mean an expired client certificate.
What is KeyPairAlias?
It is the client certificate method that refers to a key already stored on the device, by name. It needs Android 12 or later. The private key does not have to travel in the policy.
Does WPA3-Enterprise work?
Yes. AMAPI accepts the security type WPA3-Enterprise_192 for WPA3 192-bit mode with EAP-TLS.
How do I renew a Wi-Fi certificate before it expires?
It depends on how the certificate was delivered. With the key-alias method, the certificate app installs a new key under the same alias and the Wi-Fi configuration keeps working. With a certificate embedded in the policy, you edit the policy. Either way, renew well before the end date, because a device with an expired certificate cannot fetch a new one over that network.
How does a new Android device join EAP-TLS Wi-Fi the first time?
It cannot, until it has a certificate. Enroll it over a restricted provisioning SSID, a cellular connection or Ethernet. Once the certificate is installed, the EAP-TLS network takes over. Keep the provisioning path for recovery.
Sources
- Configure networks, Android Management API guide
- Policy resource reference, Android Management API
- Android Management API release notes, Google