How TLS/SSL works
TLS encrypts and authenticates a connection. In TLS 1.3 the client sends its key share immediately, the server answers with its own plus its certificate, and both derive the same keys - one round trip.
Layer: Presentation (OSI layer 6) · Port: 443 (any) · Transport: TCP · Format: Records · Standard: RFC 8446
TLS/SSL packet flow
- TLS Client → Web Server: Client Hello: TLS 1.3, ciphers, key share, SNI
- TLS Web Server → Client: Server Hello + key share
- TLS Web Server → Client: Certificate (*.example.com, signed by CA) + Finished
- TLS Client → Web Server: Finished
- TLS Client → Web Server: Application Data (encrypted)
Other protocols: HTTPS · SSH · DNSSEC · DNS over HTTPS · Wi-Fi · WPA3 · RADIUS · Captive Portal · HTTP Proxy · SOCKS5 · Reverse Proxy · WireGuard · IPsec