Use it when the cryptographic, certificate or secure-channel question has been narrowed to TLS → SNI. Capture exact data/peer, algorithm or protocol, key/certificate identity, trust context and expected security property before changing configuration.
SNI
Server Name Indication carries the client's intended server name in ClientHello so a shared endpoint can select the appropriate virtual host, certificate and policy before encrypted application data.
1. SNI tells the server which hostname the client wants, selecting the certificate.
2. Without SNI clients get a default certificate.
3. ECH encrypts SNI (emerging).
4. Load balancers route by SNI.
5. Test with the correct name.
ClientHello SNI → server selects cert/vhost
Context & applicabilityCommon mistakes · platform/version boundaries
SNI tells the server which name the client requested; it does not authenticate that name, show DNS correctness or guarantee the selected certificate/backend matches it.
Suspicious evidence: default certificate served, SNI/Host split routing, unknown name reaches sensitive backend, IDN normalization mismatch, proxy drops SNI, backend uses different name or certificate selected before policy.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
client target name → ClientHello SNI → listener virtual-host selection → certificate/policy/backend selection → client hostname validation → application routing
Step 2 Branching troubleshooting Narrow the fault
Concrete boundaries: client DNS/transport → ClientHello/SNI → server listener/certificate selection → chain/name/time/revocation validation → key handshake → encrypted session → service/application response.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- SNI ≠ certificate hostname validation.
- Correct SNI ≠ correct backend routing automatically.
- No SNI ≠ one universal expected certificate.
- Traditional SNI visibility ≠ application payload visibility, while ECH is a separate capability.
openssl s_client -connect <ip>:443 -servername <host> </dev/null— SNI-selected certcurl -v --resolve <host>:443:<ip> https://<host>— test with SNI- Server name config per vhost — mapping
ReferenceWhy it matters1 section · depth on demand
How it works in operation
TLS starts with TCP/transport then ClientHello capability/SNI, server selection, protocol/cipher negotiation, certificate chain delivery and client trust/name/time/revocation validation before key establishment and protected application data.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
SNI tells the server which name the client requested; it does not authenticate that name, show DNS correctness or guarantee the selected certificate/backend matches it.
In depth
SNI (Server Name Indication) is a TLS extension in which the client states the hostname it wants in the ClientHello, so a server hosting many sites on one IP can present the correct certificate. It is required for virtually all modern HTTPS hosting.
Security relevance:
| Aspect | Detail |
|---|---|
| Visibility | SNI is sent in clear text (TLS 1.2 and 1.3), so proxies/firewalls can see which site is requested |
| Filtering | Web filters and NGFWs use SNI for URL categorisation without decryption |
| Privacy | Encrypted Client Hello (ECH) hides SNI; being deployed in browsers/CDNs |
| Troubleshooting | Missing SNI (old clients, IP-based connections) → default certificate → name mismatch |
openssl s_client -connect 203.0.113.10:443 -servername www.example.com </dev/null | openssl x509 -noout -subject
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in TLS → SNI. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc8446 · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
TLS → SNI proof map
Fast scope, effective cryptographic state, verification and closure boundaries for TLS → SNI.
| Boundary | Establish | Does not establish |
|---|---|---|
| Scope and intent | Asset/data/peer, security property, identity/name, protocol and time | Does not prove algorithm, key, trust or endpoint correctness |
| Effective cryptographic state | Exact version, algorithm/mode/parameters, key/certificate/path and negotiated result | Configuration or object presence does not prove correct use |
| Verification outcome | Positive, negative, tamper, expiry/revoke and failure tests correlated with evidence | One success does not prove every peer, client, path or lifecycle stage |
| Closure | Original operation succeeds; old/unsafe state is retired and regression checks pass | Administrative workflow completion alone is not closure |