KB-3412715

Diagnose a RadSec TLS connection before changing policy

Identify whether a failure is at TCP, server trust, client authorization, or the RADIUS request after TLS.

10 views

A RadSec login has distinct network, TLS and RADIUS phases. Isolate the first failing phase instead of changing the shared secret, client certificate and policy at once. The RadiusStack 6.2.2 listener speaks TLS 1.2 through 1.3, requires a client certificate and invokes an authorization check on that certificate.[5]

Procedure

  1. From the affected appliance network, check that the configured hostname resolves to the intended host and that the published TCP port is reachable. Compare the deployment mapping for RADSEC_PORT with the NAS configuration; the container listener itself is TCP 2083.[6][5]
  2. Check the NAS clock and its expected server identity. Compare the server name with RADSEC_SERVER_DNS and confirm the appliance trusts the listener’s CA file, not the tenant signing CA or the EAP CA. Preserve server-name verification.[5][3][4]
  3. If server verification passes, verify that the NAS is presenting the intended certificate. Compare certificate serial and source IPv4 against the authorized NAS record, and confirm that the appliance can actually open the private key with its configured password.[4][7]
  4. If TLS succeeds, use one known-good test login and inspect the matching authentication outcome. Test accounting separately. A RADIUS rejection after TLS is not a reason to replace a CA.[5][26]

Worked example

pilot-edge reaches radsec.example.test:2083 but reports an untrusted issuer. The operator discovers it imported the tenant CA rather than the listener trust file. Correcting the trust slot fixes the handshake; the test account then verifies policy.

Expected behavior

Each observation narrows the fault. No TCP points to network/listener configuration; a TLS alert points to trust, identity or compatibility; a visible RADIUS reply demonstrates activity beyond the transport handshake.

Troubleshooting

If one NAS fails while a peer still connects, compare effective DNS, clock, source address and firmware TLS support. If all peers fail immediately after a change, check the listener and public identity before touching NAS client keys.

Production precautions

Use approved local diagnostics and sanitized timestamps. Do not publish raw traces, private keys or passphrases. Avoid broad trust stores or temporary verification bypasses.

Sources

  1. [3] NAS editor fields
  2. [4] RadSec tenant and NAS credential handlers
  3. [5] RadSec listener and server identity generator
  4. [6] RADIUS and RadSec Compose listeners
  5. [7] RadSec client verification script
  6. [26] RFC 6614 connection setup