Options
All
  • Public
  • Public/Protected
  • All
Menu

SSL configuration.

Hierarchy

  • SSLConfig

Index

Properties

enabled?: boolean

If it is true, SSL is enabled.

sslOptions?: ConnectionOptions

Default SSL options are empty which means the following default configuration is used while connecting to the server.

{ checkServerIdentity: (): any => null, rejectUnauthorized: true, };

If you want to override the default behavior, you can define your own options.

sslOptionsFactory?: SSLOptionsFactory

SSL options factory. If you don't specify it, BasicSSLOptionsFactory is used by default.

sslOptionsFactoryProperties?: Properties

The properties to be set for SSL options.

Generated using TypeDoc