Optional ALPNProtocolsOptional SNICallbackSNICallback(servername, cb)
Optional ctx: SecureContextOptional enableWhen enabled, TLS packet trace information is written to stderr. This can be
used to debug TLS connection problems.
false
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.
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()
Generated using TypeDoc
An array of strings or a Buffer naming possible ALPN protocols. (Protocols should be ordered by their priority.)