Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

SNI

Direct answer

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.

When to use this

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.

First 30 seconds

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.

Operational verification

ClientHello SNI → server selects cert/vhost

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

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.

Platform / version applicability
Cryptography, PKI and secrets
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCryptography, PKI and secrets
Scope / prerequisiteUse it when the cryptographic, certificate or secure-channel question has been narrowed to TLS → SNI. Capture exact dat…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • openssl s_client -connect <ip>:443 -servername <host> </dev/null — SNI-selected cert
  • curl -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:

AspectDetail
VisibilitySNI is sent in clear text (TLS 1.2 and 1.3), so proxies/firewalls can see which site is requested
FilteringWeb filters and NGFWs use SNI for URL categorisation without decryption
PrivacyEncrypted Client Hello (ECH) hides SNI; being deployed in browsers/CDNs
TroubleshootingMissing 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
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCryptography, PKI and secrets current

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%
Terminology layer

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.

Aliases that resolve here
server name indicationTLS virtual hostingClientHello server name
Embedded reference data

Quick lookup tables

TLS → SNI proof map

Fast scope, effective cryptographic state, verification and closure boundaries for TLS → SNI.

BoundaryEstablishDoes not establish
Scope and intentAsset/data/peer, security property, identity/name, protocol and timeDoes not prove algorithm, key, trust or endpoint correctness
Effective cryptographic stateExact version, algorithm/mode/parameters, key/certificate/path and negotiated resultConfiguration or object presence does not prove correct use
Verification outcomePositive, negative, tamper, expiry/revoke and failure tests correlated with evidenceOne success does not prove every peer, client, path or lifecycle stage
ClosureOriginal operation succeeds; old/unsafe state is retired and regression checks passAdministrative workflow completion alone is not closure
Confirmation

Confirm action

Continue?