Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SSLConfig

SSL configuration.

Hierarchy

  • SSLConfig

Index

Properties

Optional enabled

enabled: boolean

If it is true, SSL is enabled.

Optional sslOptions

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.

Optional sslOptionsFactory

sslOptionsFactory: SSLOptionsFactory

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

Optional sslOptionsFactoryProperties

sslOptionsFactoryProperties: Properties

The properties to be set for SSL options.

Generated using TypeDoc