Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Forward Secrecy

Direct answer

Forward Secrecy limits retrospective decryption by deriving session keys from ephemeral key exchange so later compromise of long-term authentication keys does not reveal previously recorded session traffic.

When to use this

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

First 30 seconds

1. Forward secrecy: ephemeral key exchange (ECDHE) so stolen server keys don't decrypt past traffic.

2. Always in TLS 1.3.

3. Disable RSA key exchange in 1.2.

4. Rotate session ticket keys.

5. Check suites.

Operational verification

ephemeral ECDHE → session keys → discarded

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

Ephemeral key exchange protects recorded past traffic from later long-term-key compromise under assumptions; it does not protect live endpoints, exported session keys, early data or weak plaintext elsewhere.

Suspicious evidence: TLS 1.2 RSA key transport, static DH, reused ephemeral key, 0-RTT sensitive data, long-lived ticket keys, proxy frontend PFS but plaintext/static backend or session key logs retained.

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 → Forward Secrecy. Captu…
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

long-term peer authentication → fresh ephemeral key shares → shared secret/HKDF → session traffic keys → ephemeral secret destruction → later long-term-key compromise

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
  • Forward secrecy ≠ protection after endpoint/session-key compromise.
  • TLS 1.2 ≠ PFS unless an ephemeral suite is negotiated.
  • TLS 1.3 0-RTT data ≠ forward-secret early data.
  • Certificate rotation ≠ forward secrecy for sessions established with static key transport.
Key checks
  • openssl s_client -connect <host>:443 </dev/null | grep 'Server Temp Key' — ECDHE in use
  • nmap --script ssl-enum-ciphers -p 443 <host> — no RSA key exchange
  • testssl.sh -f <host> — forward secrecy check
ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

Ephemeral key exchange protects recorded past traffic from later long-term-key compromise under assumptions; it does not protect live endpoints, exported session keys, early data or weak plaintext elsewhere.

In depth

Forward secrecy ensures that if a server's long-term private key is compromised later, previously recorded TLS sessions cannot be decrypted. It works by using ephemeral (EC)DHE key exchange: each session's keys are derived from temporary values that are discarded afterwards.

Without forward secrecy (static RSA key exchange in TLS 1.2), an attacker who records encrypted traffic today and steals the server key next year can decrypt everything. TLS 1.3 makes forward secrecy mandatory; for TLS 1.2, allow only ECDHE/DHE cipher suites.

Forward secrecy also affects passive monitoring tools that decrypted traffic with a copy of the server key — they no longer work, so inspection must happen at a proxy that terminates TLS.

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 → Forward Secrecy. 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
PFSperfect forward secrecyephemeral key exchange
Embedded reference data

Quick lookup tables

TLS → Forward Secrecy proof map

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

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?