LightMySky

TLS: Putting the Pieces Together

A secure connection is assembled from all of it: a certificate proves the server's key, a key exchange produces a fresh shared secret, and a symmetric cipher with an integrity check carries the traffic. Reading the handshake in order is how the pieces stop being separate ideas.

No account needed. Progress saves in this browser.

What a learner can do afterwards

  • Order the steps of a handshake and say what each one establishes
  • Say which step fails when a certificate does not match the name asked for
  • Explain what forward secrecy protects and against what later event

1 · Read

A secure connection is built in order. First the server shows its certificate, like an ID card with its public key. Next both sides agree a fresh shared secret. Then a fast symmetric cipher with an integrity check carries the traffic.

Try it together

You type bank dot example but the certificate says mail dot example. The browser stops at the name check, before any secret is made. No key exchange happens and no secure channel is built.

Each step proves something different: the certificate proves the key belongs to the name, the exchange creates a secret nobody else holds, and the cipher keeps later messages private and unaltered. A wrong computer clock can also fail good certificates on their dates, so read the error to find which piece broke.

Good to know

Forward secrecy means each visit gets its own fresh secret. If the long term key leaks later, past visits stay sealed because their secrets were never stored.

Check the certificate first, agree a fresh secret next, then carry the traffic under a cipher that guards secrecy and integrity.

2 · Watch

Take it off screen

Print a worksheetA4 with an answer key page for grown-ups. No screen, no internet.

Where it sits

Then practise

8 questions wait behind this lesson, each with its answer explained. Every answer feeds the sky: stars light as they are learned, and dim when it is time to come back.

Spotted a problem on this page? Tell us
TLS: Putting the Pieces Together · Computing, ages 21 to 22 · LightMySky