common TLS options

interface TlsOptions {
    alpnProtocols?: string[];
    caCerts?: string[];
    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.

sni?: string

Hostname to use for SNI