-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the feature
SNI allow the server to know the host requested before TLS is negotiated. This allows hosting multiple websites on the same ip/host pair and using a different TLS certificate for each of them.
NodeJs supports this using https://nodejs.org/api/tls.html#serveraddcontexthostname-context (https.Server extends tls.server)
Equivalent Deno method: https://docs.deno.com/api/node/tls/~/Server#method_addcontext_0
Bun reference: https://bun.sh/blog/bun-v1.1.5#bun-serve-now-supports-server-name-indication-sni, https://bun.com/reference/bun/Serve/BaseServeOptions/tls and https://bun.com/reference/node/tls/Server/addContext
A default certificate/key pair must be specified for clients that do not support SNI
Additional information
- Would you be willing to help implement this feature?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request