SECURITY & PRIVACYAI-REVIEWED

What is TLS?

Useful first: HTTPS · optional, not a requirement

Choose your depth

Stay with the essentials, or look closer.

Simple explanation
2 min read · estimate

YOUR GOALExplain what TLS prepares before applications exchange information.

Set up a protected conversation.

Agree on the protection

TLS stands for Transport Layer Security. Its setup conversation, called a handshake, agrees how the connection will be protected, checks identity, and establishes secret keys.

TLS handles these preparations automatically when your browser connects.

[1]

The conversation still needs a purpose

TLS protects messages; HTTP describes requests and responses. When you open an HTTPS page, these jobs work together. Preparing the protected connection does not itself ask for the page.

[1]
THE IDEA TO KEEP

TLS prepares and protects a conversation between applications.

ONE THING TO WATCH OUT FOR

The TLS handshake is the request for a page.

It establishes connection protection. Asking for content belongs to HTTP.

A QUICK CHECK, NOT A TEST
Which job belongs to a TLS handshake?
Show the explanation

Establishing protection for the connection. TLS establishes security parameters and secrets. Page requests and address lookups are separate jobs.

Progress is saved only in this browser.

KEEP EXPLORINGHTTPS
Was this explanation clear?
Report a mistake by email
Basic explanation
3 min read · estimate

YOUR GOALSeparate key roles and the checks needed to trust a certificate.

Public information, private proof, connection secrets.

What can be public?

A certificate associates a name with a public key. The matching private key is a separate secret: possessing the certificate does not mean possessing that key.

For example, Let's Encrypt checks domain control before issuing a certificate containing the requested public key. The operator uses the corresponding private key to sign the certificate request. Issuance prepares the certificate for later use by the server.

[2]

Different keys, different jobs

In certificate-based TLS 1.3, the private signing key proves possession during the handshake. Separate, derived traffic keys encrypt messages. A server might present the same certificate to many visitors without giving those connections the same traffic keys.

[5]

A matching name is one check

Suppose you open https://notes.example. The browser checks that the certificate covers notes.example, not merely another name operated by the same company. Name verification compares the destination requested with the identities presented in the certificate.

A certificate for mail.example alone does not cover notes.example, even when both names reach one server.

[3]

Trust and time are separate checks

The browser also needs an acceptable certificate chain leading to a trusted starting point. Certificate checks include signatures and validity dates; matching the hostname alone is insufficient.

A certificate's notBefore and notAfter fields define its validity interval. A certificate can have the right name and still be outside that interval. Correct device time therefore matters when evaluating it.

[4]
THE IDEA TO KEEP

Check the name, trust chain, and validity period; keep the three key roles distinct.

ONE THING TO WATCH OUT FOR

The correct hostname is enough to accept a certificate.

The certificate must also pass other validation checks, including its validity period.

A QUICK CHECK, NOT A TEST
The hostname matches and the issuer is trusted, but the certificate expired yesterday. What follows?
Show the explanation

It fails the validity-period check. A trusted issuer and matching name do not extend the certificate's dates.

Progress is saved only in this browser.

KEEP EXPLORINGHTTPS
Was this explanation clear?
Report a mistake by email
Advanced explanation
2 min read · estimate

YOUR GOALExplain forward secrecy in TLS 1.3.

Why past traffic can stay protected.

Separate temporary secrets

In a full certificate-authenticated TLS 1.3 handshake, both peers contribute temporary key material through Diffie-Hellman key agreement. This lets them establish a shared secret without sending that secret over the network, independently of the server's signing key.

[5]

Later theft

An attacker records a connection, then later steals only the server's signing key. With the temporary and traffic secrets erased, that theft alone does not decrypt the recording. This is forward secrecy.

It does not protect stolen plaintext or leaked traffic secrets. This example excludes PSK-only handshakes and early data, whose guarantees differ.

[5]
THE IDEA TO KEEP

Past traffic keys are separate from identity keys.

ONE THING TO WATCH OUT FOR

Forward secrecy makes a stolen signing key harmless.

A stolen signing key can enable future impersonation.

A QUICK CHECK, NOT A TEST
In this example, what does the stolen signing key alone reveal?
Show the explanation

No earlier traffic keys from that theft alone. The stolen signing key alone cannot reconstruct those earlier connection secrets.

Progress is saved only in this browser.

KEEP EXPLORINGHTTPS
Was this explanation clear?
Report a mistake by email
GO STRAIGHT TO THE SOURCE

Keep asking. Check the details.

Source-checked using AI (OpenAI Codex) on . The checks covered sources, examples, and quizzes for this article version.

No human review is claimed. AI review can miss errors; check the original sources below.

  1. MDN — Transport Layer Security
  2. Let's Encrypt — How It Works
  3. RFC 9525 — Service Identity in TLS
  4. RFC 5280 — Certificate validity and path validation
  5. RFC 8446 — TLS 1.3 handshake and forward secrecy
How explanations are prepared