Interface NodeTlsUpgradeOptions

common TLS options

interface NodeTlsUpgradeOptions {
    alpnProtocols?: string[];
    caCerts?: string[];
    extraOptions?: ConnectionOptions;
    sni?: string;
}

Hierarchy (View Summary)

Properties

alpnProtocols?: string[]

List of ALPN protocols to accept/offer

caCerts?: string[]

List of CA certificates to use. Will replace whatever is in the default platform CA store.

extraOptions?: ConnectionOptions
sni?: string

Hostname to use for SNI