X509 interface

Object used to store an X509 certificate and key for transports to use.

This is passed directly down to the low-level objects used by Node.js to connect the TLS socket. https://nodejs.org/api/tls.html#tls_tls_connect_options_callback

Properties

cert

X509 Certificate.

clientCertEngine

Name of an OpenSSL engine which can provide the client certificate.

key

Key associated with the X509 certificate.

passphrase

Passphrase used to decode the key associated with the X509 certificate.

Property Details

cert

X509 Certificate.

cert?: string | string[] | Buffer | Buffer[]

Property Value

string | string[] | Buffer | Buffer[]

clientCertEngine

Name of an OpenSSL engine which can provide the client certificate.

clientCertEngine?: string

Property Value

string

key

Key associated with the X509 certificate.

key?: string | Buffer

Property Value

string | Buffer

passphrase

Passphrase used to decode the key associated with the X509 certificate.

passphrase?: string

Property Value

string