Protocols
Saved & recent

SNI

Also called: Server Name Indication

Server Name Indication is a TLS extension through which a client supplies the hostname it intends to reach. A server hosting several domains at one network address can use that name to select a certificate and virtual service before application requests arrive.

For example, a client connecting to a shared address sends shop.example.com as the server name rather than its numeric IP address. SNI helps choose the destination configuration; the client must still validate the certificate for the intended host. The base extension itself does not encrypt the hostname or establish its authenticity.

Read first
TLS
Related
ALPN, Certificate, HTTPS
Further reading
RFC 6066 — TLS Extensions: Extension Definitions
ClientHello · shop.example.com client shared server address shop certificate / service shop.example.com other certificate / service news.example.com client certificate validation separate authentication check
SNI supplies the hostname shop.example.com to choose a virtual service and certificate on a shared server. Selection is followed by certificate validation. The base SNI extension does not itself encrypt the hostname.

View in the full Protocols collection