TLS/mTLS and Certificate Lifecycle Failures
TLS handshake fails before HTTP is reached — expired certificates, changed trust chains, missing client certificates.
Failure explanation
The connection fails during TLS negotiation before the API application receives an HTTP request. Causes include expired or revoked certificates, untrusted certificate authorities, incomplete intermediate chains, hostname mismatches, unsupported protocol or cipher configuration, and missing client certificates when mTLS is required. Application-level endpoint tests will not detect these failures unless transport security is exercised.
Example
A partner renews its client certificate using a new intermediate CA. One gateway instance still trusts only the old chain, so requests routed to that instance fail with a TLS handshake error while requests routed elsewhere succeed.
How to test
- Validate trusted and untrusted chains, expiry, revocation, hostname, and missing client certificates.
- Test certificate renewal and trust-anchor changes.
- Verify TLS versions and policy against the supported baseline.
- Run against the actual gateway or a representative TLS endpoint.
Expected behavior
Only connections satisfying the documented TLS/mTLS policy are established. Certificate lifecycle changes are handled consistently across all instances and environments.
Runnable examples
Each example includes a broken server, a fixed server, an OpenAPI spec, and a clrsig scenario that detects the failure.