RFC 9887 in one breath

Every network engineer has met TACACS+ the same way: a blinking login prompt on a router, a username, a password, and a quiet prayer that the hop to the authentication server is not being read by whoever is holding a packet capture. RFC 9887 answers the prayer. It wraps TACACS+ inside TLS 1.3, turns the login exchange into ordinary encrypted application data, and gives it TCP port 300 under the service name tacacss. The protocol comes out secure. The migration, for a while, does not — and that gap is the whole story.

  • RFC 9887 requires TLS 1.3 or better. The client starts the handshake the instant TCP is up and sends TACACS+ only as TLS application data. A failed handshake does not license a plaintext retry.
  • Mutual certificate authentication is the baseline: each side validates the other's certificate path, revocation included. TLS PSKs and raw public keys are optional, and a PSK must never be the old obfuscation secret wearing a new hat.
  • TLS 0-RTT is banned for TACACS+ data because replay is a real risk. Resumption tickets are single-use, and revocation gets checked again on resumption. Inside TLS the legacy obfuscation is obsolete — peers set the unencrypted flag and let TLS do the work.
  • A TLS server rejects non-TLS connections. RFC 9887 calls the mixed TLS/non-TLS phase insecure until it is finished and says to keep it short. Keep legacy servers on separate addresses. Port 300 is the assigned home; alternates are allowed with deliberate thought.

No fallback is a client rule, not a fleet-wide switch

Here is where migrations go wrong. "No fallback" is a statement about one client's behavior: if the TLS attempt fails, it fails — it does not quietly slide back to cleartext. It is not a promise that every switch, router, and out-of-band console in the estate can cross the line on the same Tuesday afternoon. So operators do the human thing: they stand up a second, separately addressed legacy service for the hardware that cannot move yet. That is a reasonable accommodation. It is also an insecure path that stays lit until someone turns it off.

Which means "done" is not the day the TLS endpoint answers a ping. Done is the day the old road is gone.

What the wire actually shows

At a healthy TLS endpoint the sequence is boring in the best way: TCP comes up, TLS 1.3 negotiates immediately, and every TACACS+ record rides inside application data. Certificates are validated in both directions, path and revocation status included. PSK or raw-public-key modes work where the stack supports them, but the PSK is its own thing — not the legacy shared secret with a fresh coat of paint. Resumption does not excuse a stale revocation check, a ticket is not a season pass, and no TACACS+ byte rides in 0-RTT early data.

Because TLS now carries confidentiality and integrity, the old obfuscation mechanism is retired for TLS operation and peers flip the unencrypted flag. That describes the inside of the tunnel. It says nothing kind about a legacy server still answering on the side — that one accepts plaintext all day, which is exactly why it has to go.

Operator decision path

  1. Inventory every device: its TACACS+ mode, address, trust material, certificate or PSK capability, and whether it can reach TCP 300 or a deliberately chosen alternate port.
  2. If it speaks TLS 1.3 and the required authentication, move it. Verify mutual certificate and revocation checks, or verify the chosen PSK/raw-public-key method and its separation from legacy secrets.
  3. If TLS negotiation fails, stop and investigate — do not flip on client fallback. If the device genuinely cannot move, park it on the separately controlled legacy service and record an owner and an expiry date for the exception.
  4. When the exception expires, pull the legacy reachability: firewall rules, routes, credentials, secrets. Then prove the TLS server rejects non-TLS traffic. These completion controls are our operational reading, not extra clauses in the RFC.

Verification fixtures

Capture a trace: TCP up, TLS 1.3 handshake, zero plaintext TACACS+ bytes. Feed the server invalid and revoked certificates. Try 0-RTT and confirm TACACS+ data is refused in early data. Reuse a resumption ticket and watch single-use handling plus a fresh revocation check. Point a legacy non-TLS client at the TLS listener and confirm the rejection; separately confirm that a TLS failure produces an error, not a quiet detour to the legacy box. Inspect the exchange for the unencrypted flag and confirm the old obfuscation secret never surfaces as the TLS PSK.

Sources