Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SecureContextOptions

Index

Properties

pfx?: string | <internal>.Buffer | (string | object | <internal>.Buffer)[]
key?: string | <internal>.Buffer | (object | <internal>.Buffer)[]
passphrase?: string
cert?: string | <internal>.Buffer | (string | <internal>.Buffer)[]
ca?: string | <internal>.Buffer | (string | <internal>.Buffer)[]
ciphers?: string
honorCipherOrder?: boolean
ecdhCurve?: string
clientCertEngine?: string
crl?: string | <internal>.Buffer | (string | <internal>.Buffer)[]
dhparam?: string | <internal>.Buffer
secureOptions?: number
secureProtocol?: string
sessionIdContext?: string

Optionally set the maximum TLS version to allow. One of 'TLSv1.3', 'TLSv1.2', 'TLSv1.1', or 'TLSv1'. Cannot be specified along with the secureProtocol option, use one or the other. Default: 'TLSv1.3', unless changed using CLI options. Using --tls-max-v1.2 sets the default to 'TLSv1.2'. Using --tls-max-v1.3 sets the default to 'TLSv1.3'. If multiple of the options are provided, the highest maximum is used.

Optionally set the minimum TLS version to allow. One of 'TLSv1.3', 'TLSv1.2', 'TLSv1.1', or 'TLSv1'. Cannot be specified along with the secureProtocol option, use one or the other. It is not recommended to use less than TLSv1.2, but it may be required for interoperability. Default: 'TLSv1.2', unless changed using CLI options. Using --tls-v1.0 sets the default to 'TLSv1'. Using --tls-v1.1 sets the default to 'TLSv1.1'. Using --tls-min-v1.3 sets the default to 'TLSv1.3'. If multiple of the options are provided, the lowest minimum is used.

Generated using TypeDoc