DOCUMENTATION

Cannot connect with 802.1X

An employee or a device cannot join the corporate wired or wireless network that uses 802.1X.

Symptom

The client keeps asking for credentials, says the password is wrong, reports that the server identity cannot be verified, or the port or SSID never opens. 802.1X exists on on-premise installations only, so all checks are made on your own server.

Check these first

  1. Open Settings → 802.1X → Logs and look for the user name or device. The Result column is the answer in most cases; the table below the causes maps it. If the module is off (Enable 802.1X module under Settings → 802.1X → Settings), the Users, Groups, Switches and Logs pages do not exist.
  2. No row at all for the attempt means the request never reached the server or was ignored: go to cause 2. A row with a reject result means the server answered: go to the cause for that result.
  3. Ask whether it fails for one person or for everyone. Everyone failing points at the certificate, the switch or the server; one person points at the account.

Possible causes

The client does not trust the server certificate

How to tell: The client says the server identity cannot be verified, or drops the connection before asking for a password, and Logs shows no attempt for that user. The RADIUS server presents a certificate signed by its own CA, which no client knows until you install it. Only TLS 1.2 is offered, so a client limited to older TLS fails the same way.

Fix: Download the CA with Download CA Certificate on Settings → 802.1X → Switches and install it as a trusted root on the client (steps in 802.1X corporate network access). On iOS, turn on full trust under About → Certificate Trust Settings too, or the certificate looks installed but is not trusted. If the profile asks for the expected server name, enter captivo-radius. Turning off server validation on one test client is a quick way to confirm this cause, but do not leave it off.

The switch is not registered, or its secret or address does not match

How to tell: Logs has no entry for any attempt through that switch. A RADIUS packet from an address that is not registered is dropped without any answer, and so is one signed with a different secret, so the switch simply times out.

Fix: On Switches check that the IP / CIDR is the address the switch actually sends from (its management or RADIUS source interface, not necessarily the one you browse to), and paste the secret again from Show or the CLI setup commands. Also check that the switch can reach the server on UDP 1812 and 1813 and that its RADIUS server address is the one in the commands. A new switch works from its first request; a deleted switch or a regenerated secret changes within a minute, and the old secret is still accepted during that minute, so wait before you retest.

The account is locked, disabled or the password is wrong

How to tell: Logs shows Reject — wrong password, Reject — account locked, Reject — user disabled or Reject — unknown user. Five wrong passwords in a row lock a panel account for 15 minutes; a locked or disabled account is refused even with the right password.

Fix: Under Users set a new password (this also clears the lock), press Unlock, or Enable the user. For an unknown user compare the spelling on the client, including the domain prefix some clients add, with the name in the panel. Old saved passwords on a phone that keeps retrying are the usual reason for a lock that comes back: have the person forget the network and enter the password once.

A directory (AD/LDAP) account arrives with the wrong method

How to tell: A domain user is refused, Logs shows Reject — unknown user or the raw code reject_directory, and panel users are fine. The directory is asked only for EAP-TTLS with PAP inside; PEAP with a domain account never reaches it. The code reject_directory means the directory refused or could not be reached; it is not in the Result filter.

Fix: Set the client profile to EAP-TTLS with PAP as the inner method, with server validation on. Check Directory (AD/LDAP) sign-in is ticked under Settings → 802.1X → Settings and that Settings → Directory (AD/LDAP) is enabled and passes Test connection and Verify test user (see directory sign-in). A name that exists in the panel is always judged there first, and a locked panel user is not passed on to the directory. If the Captivo web service is down, directory sign-ins are refused while panel users still work. Active Directory's own lockout policy counts wrong passwords, not Captivo.

A MAC bypass device is refused

How to tell: A printer or camera that cannot do 802.1X does not get on, and Logs shows MAC bypass — reject with the MAC address as the user name. Or there is no row, because the port is not set to try MAC authentication.

Fix: Add the MAC address to the MAC whitelist and make sure the entry is active and not expired; the separator format does not matter. Turn on MAC Authentication Bypass on that port or SSID so the switch sends the MAC address as the user name (the Cisco IOS block is in the main page). The MAC bypass tries are in the same Logs table.

Sign-in works but the VLAN is not applied

How to tell: Logs shows Accept, yet the client lands in the port's own VLAN. The VLAN column of that row is empty or shows a number other than expected.

Fix: Give the user's group a VLAN ID (1 to 4094) under Groups, and put the user in that group. Directory users get the single Directory users VLAN ID from 802.1X Settings. The switch must have dynamic VLAN assignment on for the port, otherwise it ignores the VLAN the server returns; and the VLAN must exist on the switch.

Result codes at a glance

  • Accept: the account was right; look at the VLAN column (cause 6).
  • Reject — wrong password, account locked, user disabled, unknown user: cause 3 (or cause 4 for a domain account).
  • Raw reject_directory: cause 4.
  • MAC bypass — accept or reject: cause 5.
  • No row: cause 1 or 2.

If it is still not solved

  • The Logs row for the attempt: time, user name, result, switch, EAP method and VLAN.
  • The client operating system and version, and the EAP method and inner method its profile uses (PEAP-MSCHAPv2 or TTLS-PAP).
  • The switch model, the address it sends RADIUS from, and whether a packet capture on the server shows requests arriving on UDP 1812.
  • Whether it fails for everyone or one account, and whether the CA is installed and trusted on a failing client.

For product-wide problems: The portal does not open · Sign-in is rejected · Sessions do not appear

Was this article helpful?