server.addContext()

The Node.js TLS server method that registers a certificate and key for a host name, chosen automatically when a client asks for that name through SNI.

In more detail

It lets one HTTPS server terminate TLS for many domains. For certificates loaded on demand, the SNICallback option does the same dynamically.

Related terms

Taught in

References