Public x509 certificate to use. Default null
.
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.
Keep sockets around in a pool to be used by other requests in the future. Default = false
When using HTTP KeepAlive, how often to send TCP KeepAlive packets over sockets being kept alive. Default = 1000. Only relevant if keepAlive is set to true.
Private key to use for SSL. Default null
.
Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256.
Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity
A string of passphrase for the private key or pfx. Default null
.
Certificate, Private key and CA certificates to use for SSL. Default null
.
If true
, the server certificate is verified against the list of supplied CAs. An 'error'
event is emitted if verification fails. Verification happens at the connection level, before the HTTP request is sent. Default true
.
The SSL method to use, e.g. SSLv3_method
to force SSL version 3. The possible values depend on your installation of OpenSSL and are defined in the constant SSL_METHODS.
Servername for SNI (Server Name Indication) TLS extension.
Generated using TypeDoc
A string,
Buffer
, array of strings, or array ofBuffer
s of trusted certificates in PEM format. If this is omitted several well known "root" CAs (like VeriSign) will be used. These are used to authorize connections.