Encryption and certificates
SNI
The site name sent in the clear at the start of a TLS handshake, so the server can pick a certificate.
SNI (Server Name Indication) is the site name a client sends in the clear at the start of a TLS handshake, so a
server hosting many sites on one address can pick the right certificate. Everything after the handshake is encrypted,
but anyone on the path still reads the name. Encrypted Client Hello (ECH) is the newer fix. Send one by hand:
openssl s_client -connect 203.0.113.5:443 -servername example.com.
Read next
- TLS and certificates Encryption plus proof of identity: the server shows a certificate for the name, signed by a trusted authority.
- DNS leak Lookups leaving outside a VPN tunnel, telling the local network every name you visit.
- Virtual host Many sites on one address and port, told apart by the Host header in each request.
- ALPN The TLS extension in which client and server agree on the protocol to speak inside, such as h2 or http/1.1.
- Forward proxy A server that makes web requests on its users' behalf, and so can allow or refuse them by name and URL.