TLS Failure
Cheat sheet · https://pcornel.dk/topic.php?topic=5135
Answer
TLS Failure isolates handshake or secure-session failures across reachability, protocol negotiation, certificate validation, key exchange, cipher compatibility, client authentication and application-layer transition.
Remember
- TCP reachable ≠ TLS healthy; the secure handshake can fail after transport establishment.
- TLS handshake success ≠ application request authorized or healthy.
- Certificate error ≠ cipher mismatch; identity/trust validation and negotiation are separate boundaries.
- Disabling verification or lowering TLS policy ≠ safe troubleshooting fix; it can turn a diagnostic into a security regression.
First checks
openssl s_client -connect <host>:443 -servername <host> </dev/null— handshaketestssl.sh <host>— protocol/cipher supportcurl -v https://<host>— client error
Commands
openssl s_client -connect <host>:443 -servername <host> -verify_return_error- Read-only/validation observation for TLS handshake, presented chain, SNI target and verification result.
openssl s_client
Verify in this order
client hello → negotiation → validation
Where it usually breaks
First mismatch in signal/report → evidence preservation → scoping/analysis → containment → eradication → recovery → validation/lessons learned; preserve identity/policy/pre-state before mutation.
TLS Failure troubleshooting/evidence map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Scope / baseline | Failing case and known-good comparison are reproducible | Symptom changes across users, devices, paths or time without explanation |
| Policy / decision | Authoritative state explains the expected decision | Stale, conflicting or unexpected policy/context changes the decision |
| Enforcement / telemetry | Runtime action and same-window telemetry agree | Decision, enforcement and logs disagree or coverage is missing |
| Verification | Original test and security regression both pass | Temporary recovery, bypass or adjacent regression remains |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5135