TLS Handshake & Certificates
TLS 1.2 vs 1.3 handshake, certificate chain, mTLS, certificate rotation, and SNI.
Overview
What TLS gives a connection TLS (Transport Layer Security) provides confidentiality, integrity, and authentication for network communications. TLS 1.3 (RFC 8446, 2018) is the current standard; TLS 1.2 is still widely deployed. TLS 1.0 and 1.1 are deprecated.
All three guarantees are set up in the handshake, before any application data moves. In the handshake the two sides agree on a version and a cipher, the server proves who it is with a certificate, and both derive the keys for the session. The main difference between the two versions you meet today is how many round trips (RTT) that takes.
Key concepts
- Certificate chain
- SNI (Server Name Indication)
- ECDHE
- mTLS
- Certificate transparency
Interview questions
- What is mTLS and when would you use it instead of regular TLS?
- How do you inspect a TLS connection to debug a certificate issue?
Sign up free to read the full topic
More Networking topics
Start free on Cariara · Coding problems · System design studio