Interface: TLSListenOptions
Extends
Properties
alpn?
optionalalpn:string[]
ALPN protocol list to offer.
backlog?
optionalbacklog:number
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
Inherited from
key
key:
string
PEM-encoded server private key. Required.
reuseAddr?
optionalreuseAddr:boolean
Inherited from
verifyPeer?
optionalverifyPeer:boolean
Whether to verify the peer's certificate. Defaults to true for clients, false for servers.