NETLEARN
Lesson 02Security

TLS Session Resumption

A full handshake is expensive when done every time. For later visits, TLS 1.3 stores a session ticket and renegotiates in half the steps, even while sending data.

Layer
Layer 5/6 · Session & Application
Reference
RFC 8446 · PSK / tickets
Steps
4
Clientbrowser
Serversite + certificate
legendrequestresponsesecure / encryptedmessage in flight

Common misunderstandings

  • 0-RTT can make a request be sent twice. A credit card? Leave that to the warm-up, not the payment.

Key notes

Ticket vs ID
TLS 1.3 uses a stateless ticket encrypted by the server; there is no need to store session state.
0-RTT is risky
Replay is possible; that is why it only suits requests that do no harm when run twice.
Ticket limits
A ticket has a lifetime. Adjusting its expiry is a matter of server administration.
PSS
The protocol speeds up CDNs: many clients take advantage of resumption to save a round-trip.