hostname
{string} A SNI host name or wildcard (e.g.'*'
)context
{Object} An object containing any of the possible properties from the [tls.createSecureContext()
][]options
arguments (e.g.key
,cert
,ca
, etc).
The server.addContext()
method adds a secure context that will be used if
the client request’s SNI name matches the supplied hostname
(or wildcard).