Optional
ALPNProtocolsOptional
SNICallbackSNICallback(servername, cb)
Optional
enableWhen enabled, TLS packet trace information is written to stderr
. This can be
used to debug TLS connection problems.
Optional
rejectIf true the server will reject any connection which is not authorized with the list of supplied CAs. This option only has an effect if requestCert is true.
Optional
requestIf true the server will request a certificate from clients that connect and attempt to verify that certificate. Defaults to false.
Optional
secureAn optional TLS context object from tls.createSecureContext()
An array of strings or a Buffer naming possible ALPN protocols. (Protocols should be ordered by their priority.)