A string containing the PEM encoded certificate.
A string describing the ciphers to use or exclude. Consult https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT for details on the format.
Either a string or array of strings of PEM encoded CRLs (Certificate Revocation List).
If true
, when a cipher is being selected, the server's preferences will be used instead of the client preferences.
The private key of the server in PEM format. To support multiple keys using different algorithms, an array can be provided either as an array of key strings or as an array of objects in the format {pem: key, passphrase: passphrase}
. This option is required for ciphers that make use of private keys.
A string containing the passphrase for the private key or pfx.
A string or Buffer
holding the PFX or PKCS12 encoded private key, certificate, and CA certificates.
Generated using TypeDoc
A string,
Buffer
, array of strings, or array ofBuffer
s of trusted certificates in PEM format. If omitted, several well known "root" CAs (like VeriSign) will be used. These are used to authorize connections.