Interview Prep/Networking/TLS, HTTP & Application Layer

Explain what happens in a TLS 1.3 handshake in a few sentences.

BeginnerScenarioTLS, HTTP & Application Layer
Answer

Situation read → Interviewers want the sequence and what it achieves, not the byte layout.

What I'd do →

  1. Client sends ClientHello with supported ciphers, key share and SNI (the hostname)
  2. Server replies with ServerHello, its key share, certificate and a signed Finished message
  3. Both derive session keys from the key exchange (ECDHE), so the rest is encrypted
  4. Client validates the certificate chain, hostname and expiry, then sends Finished
  5. Inspect with openssl s_client -connect example.com:443 -servername example.com -tls1_3

Why → TLS 1.3 needs one round trip and gives forward secrecy by default.

Interview tip → Mention that TLS 1.2 needs two round trips and TLS 1.3 removed weak ciphers.

All Networking questions Roadmap: Networking for DevOps

More on TLS, HTTP & Application Layer