UniFi networking

UniFi · Networking

UniFi WPA-Enterprise / RADIUS Wi-Fi rejects logins — the authentication fix

First published 27 October 2026 · Updated on 27 October 2026 · Verified against Ubiquiti Help Center documentation and the RADIUS standards (links at each step)

Merroway Editorial · Verified against governing standards and vendor documentation.

The fast answer

Do not start by resetting passwords. The most common causes, in order, are: the SSID is not actually set to Enterprise, the shared secret in the UniFi RADIUS profile does not match the server, the server does not recognise the gateway, or the client (especially Android) is rejecting the server certificate. Check those four before touching any user account — and keep the existing shared-password SSID running until the Enterprise SSID works, so staff are not locked out mid-migration.

Do not fix the wrong thing first. Turning the Enterprise SSID off, or handing out the old shared password “temporarily”, undoes the reason for Enterprise Wi-Fi (no shared password to leak). Diagnose on a test device while staff stay on the working network.
Advertisements

What you are looking at, in plain words

WPA-Enterprise means each person authenticates with their own credentials (or certificate) instead of one password shared by the whole office. The access point does not check those credentials itself — it asks a RADIUS server, using the profile you configure in UniFi: the server's address, an authentication port, and a shared secret that proves the gateway is allowed to ask. Ubiquiti's SSID documentation puts it plainly: use Enterprise for RADIUS-based authentication, as the security protocol for the network.

The ports are standard, not UniFi inventions: authentication uses UDP port 1812 and accounting (logging who connected, if you use it) uses UDP port 1813, per the RADIUS standards. The shared secret is a password between the gateway and the server — it is never typed by staff, and a single wrong character in it rejects everyone equally, which is exactly why it is the first thing to check when everyone fails. When only some devices fail, the fault is almost always on those devices — most famously Android: on Android 11 QPR1 and higher, a new TLS-based Enterprise configuration must include a Root CA certificate and either a domain suffix match or an alternate subject match, or the system rejects it — so “do not validate” cannot be the production setting.

One more check — practitioner guidance, not a Ubiquiti statement: the SSID's Hotspot / captive portal setting is a different authentication system from Enterprise. If Hotspot is also enabled on this SSID, turn it off and re-test; the two systems conflict in practice. Keep Hotspot off this SSID.

Step 0 — Prove which part is failing

Separate “everyone fails” from “one device fails” before changing anything. Try a known-good staff account on two different devices (for example, a laptop and a phone). If both fail, the fault is in the profile, the secret, the server, or the SSID setting — work steps 1–2. If one works and the other fails, the fault is on the failing device — skip to step 3. Also confirm the RADIUS server itself is running and reachable from the gateway's network; a server that is down produces the same symptom as a wrong secret, and no client setting will fix it.

The fixes, in order

  1. Create the RADIUS profile correctly. In the console, create a RADIUS profile with the server's address, authentication port 1812 (accounting port 1813 if you use accounting), and the shared secret — copied, not retyped, from the server's configuration. The secret must match the server exactly, including case. If your server is external (a cloud RADIUS service or another server on the network), make sure that server lists the UniFi gateway as an allowed client (NAS): a server that does not recognise the gateway will reject every request no matter how correct the secret is.
  2. Set the SSID to Enterprise — and nothing else. Create or edit the staff SSID, set its security protocol to WPA2 Enterprise or WPA3 Enterprise (WPA2 if older staff devices struggle with WPA3), and select the RADIUS profile from step 1. Do not enable Hotspot / captive portal on this SSID (see the flagged practitioner check in the explainer above), and do not leave a pre-shared key on it. Apply the change, then test with the known-good account from Step 0.
  3. Enrol clients properly — Android first. On each client, join the SSID with the staff username and password, and pay attention to the certificate prompt. On Android 11 QPR1 and later, select the correct CA certificate for your RADIUS server and set the domain suffix or alternate subject match for it; without both, Android rejects the new configuration. “Do not validate” defeats the point of Enterprise authentication and must not be the production setting. On laptops, accept the server certificate only if it is genuinely yours — a certificate warning on first connection is worth investigating, not clicking through.
  4. If VLANs follow the user, check the tunnel attributes. If staff are supposed to land on different VLANs by group (dynamic VLAN assignment), three things must agree: the RADIUS server must return Tunnel-Type 13 (VLAN) and Tunnel-Medium-Type 6 (IEEE 802) with the target VLAN as Tunnel-Private-Group-ID, the VLAN must already exist in UniFi, and RADIUS-assigned VLAN support must be enabled on the profile. If users connect but land on the wrong network, this — not the password — is the fault.
  5. Read the failure, not just the symptom. When a login fails, check the RADIUS server's log and the console's events for that attempt. “Shared secret mismatch”, “unknown client” (gateway not registered), “user not found”, and certificate errors are different faults with different fixes; treating them all as “wrong password” is how a ten-minute fix becomes a lost day. Fix the fault the log names, then re-test with the same account and device.

Prove it worked

Connect with the known-good account on two device types (laptop and phone), confirm each reaches the network it should (including the right VLAN, if you use dynamic assignment), and confirm a wrong password is still rejected — a system that accepts everything has not been fixed, it has been broken open. Leave the old shared-password SSID running until this test passes, then retire it.

Still not working? Work this ladder in order

  1. Everyone fails, server log shows nothing: the gateway cannot reach the server, or the server does not recognise the gateway. Check network reachability, ports 1812/1813, and the gateway's registration as a client on the server.
  2. Everyone fails, server log shows rejections: compare the shared secret character by character, and confirm the SSID is set to Enterprise with this profile (not a stale profile).
  3. Only Android devices fail: the CA certificate setting. Set the correct CA certificate and the domain suffix or alternate subject match; do not ship “Do not validate” as the fix.
  4. Users connect but land on the wrong VLAN: check Tunnel-Type 13, Tunnel-Medium-Type 6, the VLAN's existence in UniFi, and RADIUS-assigned VLAN support on the profile.
  5. Logins worked, then stopped after a server change: the secret, the server address, or the gateway's registration changed with it. Re-check step 1 against the server's current configuration.
  6. None of these steps fixes it. Take the results of Step 0 and the failing step above to Ubiquiti Support via the Ubiquiti Help Center (the official documentation linked in Sources above) — that is the next step, not a different vendor's forum thread.

Mistakes that make it worse

  • Resetting staff passwords when the shared secret is the fault.
  • Enabling Hotspot / captive portal on the Enterprise SSID.
  • Shipping “Do not validate” on Android as a permanent fix.
  • Retiring the working shared-password SSID before the Enterprise SSID passes its test.
  • Treating every rejection as a wrong password instead of reading the server log.
Advertisements

FAQ — the issues behind this problem, answered

What is the difference between WPA-Enterprise and a normal Wi-Fi password?

A normal (PSK) network shares one password with everyone; anyone who knows it can connect, and changing it means changing it everywhere. Enterprise gives each person their own credentials, checked by a RADIUS server, so one person's departure does not mean a new password for the whole office.

Which ports does RADIUS use?

Authentication uses UDP 1812 and accounting uses UDP 1813, per the RADIUS standards (RFC 2865 and RFC 2866). If a firewall between the gateway and the server blocks those ports, every login fails even though both ends are running.

Why do Android phones fail when laptops connect fine?

On Android 11 QPR1 and later, a new TLS-based Enterprise configuration must include a Root CA certificate and either a domain suffix match or an alternate subject match, or the system rejects it. Laptops may have the certificate already; a phone without both settings will reject the server. Set the correct CA certificate and domain match on the phone — do not use “Do not validate” in production.

Can I use the built-in UniFi RADIUS server instead of an external one?

UniFi provides a RADIUS server configuration for gateways, documented in Ubiquiti's RADIUS server guidance; for a small staff list it can be enough, while larger or certificate-based setups usually use an external server. Either way, the profile, secret and SSID steps in this guide are the same.

Sources

Ubiquiti Help Center — UniFi WiFi SSID and AP Settings Overview (Enterprise as the RADIUS security protocol) · UniFi Gateway – Configuring RADIUS Server · RADIUS standards RFC 2865 (authentication, port 1812) and RFC 2866 (accounting, port 1813); dynamic-VLAN tunnel attributes 13/6 (Ubiquiti RADIUS article, citing RFC 2868) · Android Developers — Secure Wi-Fi Enterprise configuration (Android 11 QPR1+ Root CA plus domain suffix or alternate subject match; rejected if not set up properly).

Verification note: values, settings paths and limits on this page were checked against the official pages listed above on 27 October 2026. Android certificate rules are from Android Developers; tunnel attributes 13/6 are from Ubiquiti's RADIUS article. The Hotspot-on-Enterprise check is practitioner guidance, flagged as such above — not a Ubiquiti statement. Anything else that could not be verified in an official source was left out rather than stated as fact.