Interface: TlsOptions
TLS options for enabling HTTPS on the server.
Properties
ca?
optionalca:string
CA certificate(s) in PEM format, for client certificate verification.
cert
cert:
string
TLS certificate chain in PEM format.
key
key:
string
TLS private key in PEM format.
passphrase?
optionalpassphrase:string
Passphrase for an encrypted private key.
requestCert?
optionalrequestCert:boolean
If true, the server requires a valid client certificate. Implies use of ca.