Layer:01TERMINATION
Send a request and follow it across the wire. Plain HTTP shows everything to anyone on the line. HTTPS seals it, but then the load balancer has a choice: pass the sealed stream through blind, or open it and route by what's inside.
What someone on the wire sees
send a requestWhat HAProxy can read
send a requestWhat the backend receives
send a requestLayer:02EXCHANGE
How two strangers end up holding the same secret while every message between them is public. Paint stands in for the maths: mixing is easy, unmixing is practically impossible. The letters show exactly what went into each mix.
A key that was never sent
never leaves this box
Ynever leaves this box
You and github.com agree on a public colour, Y, out in the open. You secretly pick B. github.com secretly picks G. Neither secret ever leaves its box.
Clever, but it can't tell who
she sits on the wire
The same exchange, but Mallory sits on the wire with her own secret, R. Every message passes through her.
Layer:03IDENTITY
The piece Layer:02 was missing. Run the command against a site with a good chain, then one with a broken chain, and watch the output get read as a chain of seals, from a root you already trust down to this very connection.
Reading the chain
trust flows from something you already have- root CAUSERTrust ECCalready on your machine, never sentK·root
- intermediate CASectigo DV E36sent by the server, with 1 more intermediate above itK·int
- leaf certificategithub.comsent by the server, the name you asked forK·leaf
- this handshakeyour connectionthe transcript, both paint mixes included
Run the command above. Each seal below gets checked in order.
Why the last seal can't be faked
n = 3233, e = 17d = 2753h = 65s = 652753 mod 3233 = 58858817 mod 3233 = 65 = h ✓123417 mod 3233 = 2183 ≠ h ✕github.com holds a key pair. The public half is printed in its certificate for anyone to read. The private half never leaves the server.
Toy numbers. Real keys are 2048-bit RSA or 256-bit ECDSA, and github.com uses ECDSA. The idea is the same for both: only the private key can make the seal, and anyone with the public key can check it.
Click here for a FREE CA certificate!!
Root-signed. Wildcard. Works everywhere. $499.99 $0.00




