Options
All
  • Public
  • Public/Protected
  • All
Menu

SSL configuration.

Hierarchy

  • SSLConfig

Index

Properties

enabled

enabled: boolean = false

If it is true, SSL is enabled.

sslOptions

sslOptions: ConnectionOptions = null

sslOptions is by default null 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 write your own connection sslOptions.

sslOptionsFactoryConfig

sslOptionsFactoryConfig: ImportConfig = null

sslOptionsFactoryConfig is config for ssl options factory. If you don't specify the path, BasicSSLOptionsFactory is used by default.

sslOptionsFactoryProperties

sslOptionsFactoryProperties: Properties = null

sslOptionsFactoryProperties is the properties to be set for ssl options.

Generated using TypeDoc