Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

TLS Handshake

Direct answer

The TLS Handshake negotiates version and cryptographic parameters, establishes shared secrets, authenticates peers as configured and verifies the transcript before application traffic uses derived keys.

When to use this

Use it when the cryptographic, certificate or secure-channel question has been narrowed to TLS → TLS Handshake. Capture exact data/peer, algorithm or protocol, key/certificate identity, trust context and expected security property before changing configuration.

First 30 seconds

1. Handshake: ClientHello → ServerHello → certificate → key exchange → Finished.

2. TLS 1.3 is 1-RTT (0-RTT optional with replay risk).

3. SNI selects certificate.

4. Failures show alerts (e.g. handshake_failure).

5. Capture to diagnose.

Operational verification

ClientHello → ServerHello + cert → key exchange → Finished

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

Finished verification shows both sides share keys bound to the transcript; peer identity depends on the chosen authentication method and validation policy, not Finished alone.

Suspicious evidence: no shared version/group/signature, HelloRetry confusion, wrong SNI certificate, validation alert, PSK identity mismatch, transcript downgrade, client-cert request failure or alert hidden by proxy.

Platform / version applicability
Cryptography, PKI and secrets
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCryptography, PKI and secrets
Scope / prerequisiteUse it when the cryptographic, certificate or secure-channel question has been narrowed to TLS → TLS Handshake. Capture…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

ClientHello → ServerHello/key share → encrypted handshake parameters → certificate/authentication → transcript Finished verification → application traffic keys

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • ServerHello received ≠ handshake complete.
  • Certificate message received ≠ certificate accepted.
  • Shared keys derived ≠ peer authenticated automatically.
  • Finished valid ≠ application request authorized.
Key checks
  • openssl s_client -connect <host>:443 -msg </dev/null | head -40 — handshake messages
  • tshark -r cap.pcap -Y tls.handshake — captured handshake
  • curl -v --tlsv1.3 https://<host> — TLS 1.3 handshake
ReferenceHow it works1 section · depth on demand

Decision and enforcement journey

TLS Handshake is verified as a decision/enforcement journey: client hello → version/cipher/key agreement → server identity/certificate → key confirmation/finished → encrypted application protocol.

ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

Finished verification shows both sides share keys bound to the transcript; peer identity depends on the chosen authentication method and validation policy, not Finished alone.

In depth

The TLS handshake authenticates the server (and optionally the client), agrees on the protocol version and cipher suite, and establishes session keys before any application data is sent.

TLS 1.3 handshake (simplified):

1. ClientHello: supported versions, cipher suites, key shares, SNI.

2. ServerHello: chosen suite and key share; from here traffic is encrypted.

3. Server sends certificate, CertificateVerify (signature) and Finished.

4. Client verifies the certificate chain and hostname, sends Finished.

This takes one round trip (1-RTT), versus two in TLS 1.2. Handshake failures usually come from no common protocol/cipher, an untrusted or expired certificate, hostname mismatch, or middleboxes interfering.

openssl s_client -connect example.com:443 -servername example.com -brief
curl -v https://example.com 2>&1 | grep -E 'SSL connection|subject|issuer|expire'
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCryptography, PKI and secrets current

Authoritative/upstream documentation reviewed for bounded claims in TLS → TLS Handshake. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc8446 · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
TLS negotiationSSL handshakeTLS connection setup
Embedded reference data

Quick lookup tables

TLS → TLS Handshake proof map

Fast scope, effective cryptographic state, verification and closure boundaries for TLS → TLS Handshake.

BoundaryEstablishDoes not establish
Scope and intentAsset/data/peer, security property, identity/name, protocol and timeDoes not prove algorithm, key, trust or endpoint correctness
Effective cryptographic stateExact version, algorithm/mode/parameters, key/certificate/path and negotiated resultConfiguration or object presence does not prove correct use
Verification outcomePositive, negative, tamper, expiry/revoke and failure tests correlated with evidenceOne success does not prove every peer, client, path or lifecycle stage
ClosureOriginal operation succeeds; old/unsafe state is retired and regression checks passAdministrative workflow completion alone is not closure
Confirmation

Confirm action

Continue?