What is SNI?
BeginnerConceptHTTP, TLS & Certificates
Answer
Server Name Indication is a TLS extension in the ClientHello containing the hostname the client wants, so one IP and port can serve many certificates. Without it a server would not know which cert to present.
curl --resolve app.example.com:443:203.0.113.10 https://app.example.com
openssl s_client -connect 203.0.113.10:443 -servername app.example.com
Encrypted Client Hello (ECH) hides SNI from observers.
More on HTTP, TLS & Certificates
What is the structure of an HTTP request and response?BeginnerWhich HTTP status code classes and codes should every DevOps engineer know?BeginnerWhat are the common HTTP methods and which are idempotent?BeginnerWhat changed between HTTP/1.1, HTTP/2 and HTTP/3?IntermediateHow does QUIC differ from TCP+TLS?AdvancedWhat are HTTP keep-alive and connection reuse, and why do they matter?Advanced