NB5 Docs► User Guide▼ Standard SSL Options 🖺

These options are used when you need to configure SSL for a driver. The configuration logic for SSL is centralized, and supports both the version of TLS which is shipped with the JVM, as well as the openssl version.

Whenever a driver indicates that it can be configured with SSL, and points you to the standard SSL options, this is the page it is referring to.

SSL Options

ssl

Specifies the type of the SSL implementation.

Disabled by default, possible values are jdk, and openssl.

examples

The options available depend on which of these you choose. See the relevant sections below.

with ssl=jdk

tlsversion

Specifies the TLS version to use for SSL.

examples

truststore

Specifies the path to the SSL truststore.

examples

tspass

Specifies the password for the SSL truststore.

examples

keystore

Specifies the path to the SSL keystore.

examples

kspass

Specifies the password for the SSL keystore.

examples

keyPassword

Specifies the password for the key.

examples

with ssl=openssl

For openssl type, the following options are available:

caCertFilePath

The path to the X509 CA certificate file.

examples

certFilePath

The path to the X509 certificate file.

examples

keyFilePath

The path to the OpenSSL key file.

examples