TLS

Transport Layer SecurityApplication layer

Encrypting connections and verifying identity on the wire

Step 1 of 5: Offer versions and key shares. After TCP connects, your laptop sends a ClientHello listing supported ciphers, key shares, and the domain name it wants to reach.
0.0 s / 15.8 s
Your laptop192.168.1.10Home router192.168.1.1InternetWeb server203.0.113.10ClientHello
EncryptedHandshake

Overview

wraps a connection in encryption and checks the server's . It keeps eavesdroppers from reading or altering messages in transit.

Transport Layer Security 1.3 (RFC 8446) sits above TCP and below application protocols such as or . In one round trip it negotiates cipher suites, exchanges ephemeral keys, verifies the server certificate chain, and derives AEAD session keys.

Key facts

Layer
Between TCP and application
Current version
TLS 1.3 (1-RTT handshake)
Legacy retired
SSL 2/3, TLS 1.0, TLS 1.1
Identity proof
X.509 certificate chain
Defined in
RFC 8446, RFC 7301

Channel authenticated and sealed

In one round trip, both sides agreed on keys and verified the server's certificate. Every message after ServerHello was encrypted and protected against tampering.

TLS 1.3 negotiated AEAD encryption, verified the server's X.509 certificate, protected application records with 22 bytes of overhead, and closed with `close_notify`.

Version
TLS 1.3 (RFC 8446)
Setup
1 round trip
Cipher
TLS_AES_128_GCM_SHA256
Record overhead
22 bytes

Try it yourself

Inspect a live TLS 1.3 handshake

Connect to example.com on port 443 and inspect the negotiated TLS version, cipher suite, and certificate chain.

openssl s_client -connect example.com:443 -servername example.com