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.

  1. The Wrong Host Name

    what a client does with a certificate for another name

  2. An Untrusted Root

    the name of a root is not what the client trusts

  3. 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.

  1. A Flipped Bit in the Handshake

    where a changed bit lands decides who notices

  2. A Flipped Bit in a Record

    the tag of a protected record catches one changed bit

  3. No Common Version

    two ends whose version ranges do not meet

  4. No Common Cipher, No Common Group

    groups and ciphers that do not meet, and one case that looks like a failure

  5. What a Failure Looks Like

    four ways a handshake can go wrong, and what each looks like from outside