TLS Failures You Can Trigger
Make one thing go wrong between a TLS client and a TLS server that both live in this tab's memory: the name, the root, the dates, a flipped bit, the versions, the ciphers and groups. Read the alert, the verify result and the error that each end gives. Real OpenSSL, with public test certificates.
The Client Refuses the Certificate
Name, root and dates: the client checks what the server sends against what it was asked for and what it trusts.
- The Wrong Host Name
what a client does with a certificate for another name
- An Untrusted Root
the name of a root is not what the client trusts
- Expired, and Not Yet Valid
the two dates in a certificate and the client's clock
The Two Ends Do Not Fit
A flipped bit in a handshake flight and in a record, versions, ciphers and groups that do not match, and what a failure looks like.
- A Flipped Bit in the Handshake
where a changed bit lands decides who notices
- A Flipped Bit in a Record
the tag of a protected record catches one changed bit
- No Common Version
two ends whose version ranges do not meet
- No Common Cipher, No Common Group
groups and ciphers that do not meet, and one case that looks like a failure
- What a Failure Looks Like
four ways a handshake can go wrong, and what each looks like from outside