CONNECT host:443 line
- Visible to the proxy
- Yes, it opens the tunnel with it
- Visible to the website
- No
SNI (Server Name Indication) is a TLS extension in which the client names the website it wants at the start of the handshake. It lets one server IP host many HTTPS sites and pick the right certificate, but the name travels unencrypted unless Encrypted Client Hello is used.
Before SNI, a server had to choose a certificate before it knew which site the client wanted, so each HTTPS site needed its own IP address. SNI, defined in RFC 6066, adds a server_name field to the TLS ClientHello. The server reads it, picks the matching certificate and carries on. Shared hosting, CDNs and cloud load balancers depend on it.
Because the ClientHello is sent before any keys exist, the hostname in it is visible to anyone on the path. Encrypted Client Hello (ECH) fixes that by encrypting the inner ClientHello, and recent versions of Chrome and Firefox support it for sites that publish an ECH key, mostly behind Cloudflare.
An HTTPS request through a proxy hides the page, not the destination. The hostname is visible in more than one place, and the website checks that they agree.
CONNECT host:443 lineHost headerThe SNI and the Host header must name the same site. Servers and CDNs reject mismatches (domain fronting), often with 421 Misdirected Request or a certificate error, and an empty or IP-only SNI from a client that claims to be a browser is itself a bot signal.
CleanProxies proxies pass your TLS handshake through unchanged, SNI included. Use static ISP proxies or rotating residential proxies with any client that sets SNI correctly, which every browser and mainstream HTTP library does.
The CleanProxies proxy that fits best here, with a $4.99 trial to test it first.
Dedicated IPs on US carrier ASNs with unlimited bandwidth and threads, never shared.
Dedicated static IPs registered to US and Canadian ISPs. The address stays the same for as long as you hold it, with unlimited bandwidth and HTTP(S) or SOCKS5 access.
Setup guides and best practices from the CleanProxies blog.
Terms that come up alongside SNI.
Straight answers about SNI.
Server Name Indication, a TLS extension that tells the server which hostname the client is connecting to.