TLS handshake
The opening exchange of a TLS connection, in which client and server agree on settings, check certificates and create shared keys.
In more detail
It starts with the ClientHello and ends once both sides can encrypt. A successful handshake proves the client reached a server holding the private key for a validated name, but it does not authenticate the user. Many TLS problems, such as expired certificates, untrusted authorities or no cipher in common, show up as handshake failures.
Example
Key exchange first: hybrid X25519MLKEM768 in the TLS handshakeRelated terms
- TLS — The encryption that protects data travelling over a network, the S in HTTPS.
- ClientHello — The first message a TLS client sends, listing the versions and ciphers it supports and extensions such as the server name.
- key exchange — The step in which two parties establish a shared secret key over a network, so they can then encrypt their conversation.
- forward secrecy — A property of key exchange where a stolen long-term private key cannot decrypt past recorded sessions, because each session used temporary keys.
- X.509 certificate — A signed document binding a public key to a name, issued by a certificate authority, used by TLS to prove identity.
- TLS certificate — A signed digital document that proves a server really owns a domain name and holds the key used to start encrypted TLS connections.
- certificate chain — The sequence of certificates from a server's certificate, through one or more intermediate certificates, up to a trusted root.
- cipher suite — The named set of algorithms a TLS connection uses for key exchange, encryption and integrity, agreed during the handshake.
- certificate verification — The client's checks that a server certificate chains to a trusted authority, is in date, and names the host it asked for.
Taught in
- Security Landing Zones & Centralized Egress Inspection — Cloud Security & DevSecOps Engineering
- Asymmetric Cryptography: RSA, ECC & Diffie-Hellman — Cybersecurity Fundamentals, GRC & Cryptography
- Public Key Infrastructure: X.509 Certificates & CAs — Cybersecurity Fundamentals, GRC & Cryptography
- Post-Quantum Cryptography & Key Lifecycles — Cybersecurity Fundamentals, GRC & Cryptography
- What HTTPS Adds, And What It Does Not — Linux Fundamentals & Systems Administration
- Certificates, Chains And What A Handshake Proves — Linux Fundamentals & Systems Administration
- TLS & HTTPS Encryption: Certificates & SNI Contexts — Node.js Internals & Backend Services
- TLS And The Handshake — Application Security & Threat Modeling for Engineers