Use it when the symptom is “TLS Failure”: work through the layers in order and stop at the first one that fails.
TLS Failure
TLS Failure isolates handshake or secure-session failures across reachability, protocol negotiation, certificate validation, key exchange, cipher compatibility, client authentication and application-layer transition.
1. TLS failures: protocol/cipher mismatch, certificate issues, SNI, TLS inspection, old clients.
2. Test from the failing client.
3. Don't enable weak protocols to fix one legacy client — isolate it.
4. Check middleboxes.
5. Retest.
client hello → negotiation → validation
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
openssl s_client -connect <host>:443 -servername <host> -verify_return_errorPrimary Commands
Configuration and operational commands for this Topic.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Evidence path Verify boundary
network reachability → ClientHello/SNI/ALPN → protocol/cipher negotiation → certificate validation → key exchange → optional client authentication → Finished → application request
Healthy evidence: Healthy evidence shows expected protocol/cipher negotiation, valid identity/trust chain, successful key exchange and any client authentication, followed by the intended application response without fallback.
Step 2 Telling causes apart Verify boundary
Known-good is an established TLS session to the intended SNI with an approved protocol/cipher, expected peer identity and verify return code 0, followed by the original application request succeeding. Broken state includes handshake alert, no shared cipher/protocol, certificate verify error or successful frontend TLS with repeatable backend/application failure. openssl s_client shows the tested TLS hop only; it cannot show authorization, HTTP semantics or encryption beyond a terminating intermediary.
Step 3 Fault isolation and next checks Narrow the fault
Suspicious evidence: Suspicious evidence includes version/cipher mismatch, SNI error, trust-chain failure, unsupported signature algorithm, mTLS client-certificate rejection, proxy interception or handshake success followed by authorization failure.
A TLS alert or handshake failure narrows the failed protocol stage, but does not show application health, authorization or that lowering security policy is justified.
Step 4 Observation-driven branch and next-check logic Narrow the fault
Test the exact host name and port with openssl s_client -connect <host>:443 -servername <host> -verify_return_error. If the TCP connection never forms, troubleshoot transport/listener/firewall first; if negotiation fails before certificates, compare protocol/cipher support; if verify return code is non-zero, inspect chain, name and trust; if the handshake is clean but HTTP/application use fails, move to mTLS identity, HTTP status or backend TLS evidence. Repeat against each termination hop when architecture includes a proxy or load balancer.
Step 5 Common mistakes Narrow the fault
- Protocol/cipher mismatch after hardening.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- 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.
openssl s_client -connect <host>:443 -servername <host> </dev/null— handshaketestssl.sh <host>— protocol/cipher supportcurl -v https://<host>— client error
ReferenceWhat it is1 section · depth on demand
Core failure model
Separate transport reachability from TLS. Then trace ClientHello/ServerHello negotiation, SNI/ALPN, server certificate and chain validation, key exchange/cipher, optional client certificate, Finished verification and post-handshake application behavior.
ReferenceHow it works1 section · depth on demand
How it works and how it fails
TLS Failure can occur during TCP establishment, ClientHello/ServerHello negotiation, certificate validation, key exchange, optional client authentication or post-handshake application use. openssl s_client exposes the negotiated protocol/cipher, peer certificate chain and verify result for one endpoint/SNI. Load balancers, proxies and service meshes may terminate and re-originate TLS, so a healthy frontend handshake does not automatically represent the backend hop.
ReferenceImportant terms & boundaries1 section · depth on demand
What this shows and what it does not
A TLS alert or handshake failure narrows the failed protocol stage, but does not show application health, authorization or that lowering security policy is justified.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Security Troubleshooting → TLS Failure. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.nist.gov/cyberframework · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
TLS Failure troubleshooting/evidence map
Fast scope, policy, enforcement, telemetry and verification boundaries for TLS Failure.
| 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 |