freecoding.school100% FREE · NO SIGNUP
Gateway RidgeISSUE #13 of 35

tls · certificates · sni

Gateway GusVSTimeout Titan
Gateway Gus saysTLS uses certificates to prove server identity; SNI lets one IP host many secure domains.

A TLS certificate, issued by a trusted Certificate Authority, binds a domain to a public key — that's how your browser knows it's really talking to the bank. The handshake negotiates encryption keys. SNI (Server Name Indication) sends the requested hostname early so one server/IP can present the correct certificate for many domains. Let's Encrypt made certs free and automatic.

Power-ups you unlock

Timeout Titan attacks — common mistakes

Boss battleExplain what a TLS certificate proves and who vouches for it.

Example code

<!doctype html><html><head><meta charset="utf-8"></head>
<body style="background:#06040d;color:#e6e0ff;font-family:monospace;padding:20px"><pre>cert: "api.x.com owns this public key" — signed by a CA
SNI: client says "api.x.com" → server picks that cert</pre></body></html>
▶ Open the interactive comic issue
‹ Https · Why Tls Is Non-NegotiableApi Gateways · The Front Door ›