Interface: TLSListenOptions
Extends
Properties
alpn?
optionalalpn?:string[]
ALPN protocol list to offer.
backlog?
optionalbacklog?:number
Maximum length of the queue of pending connections.
Inherited from
ca?
optionalca?:string
PEM-encoded CA certificate(s) for client certificate verification (mutual TLS).
cert
cert:
string
PEM-encoded server certificate. Required.
ipv6Only?
optionalipv6Only?:boolean
Restrict an AF_INET6 socket to IPv6 only.
Inherited from
key
key:
string
PEM-encoded server private key. Required.
reuseAddr?
optionalreuseAddr?:boolean
Allow reuse of a local address that is in a TIME_WAIT state (SO_REUSEADDR).
Inherited from
verifyPeer?
optionalverifyPeer?:boolean
Whether to require and verify a client certificate (mutual TLS). Defaults to false.