SSLMode

This property specifies how the connector uses SSL to connect to the server.

If you are connecting to a Cassandra database, set this property to one of the following values:

  • 0: The connector does not use SSL to connect to the server.
  • 1: If the UseSslIdentityCheck property is also set to 1, the connector connects using one-way SSL authentication. Otherwise, the connector connects to the server using SSL but does not verify the identity of the server.
  • 2: If the UseSslIdentityCheck property is also set to 1, the connector connects using two-way SSL authentication. Otherwise, the connector connects to the server using SSL, but the connector and the server do not verify each other.

Or, if you are connecting to an Astra database, set this property to one of the following values:

  • 2: The connector connects using two-way SSL authentication, and overrides the SSL certificates in the secure connection bundle. For more information, see Configuring SSL Connections.
  • 3: The connector connects using two-way SSL authentication, and uses the SSL certificates that are included in the secure connection bundle. For more information, see SecureConnectionBundlePath.
Default Value Data Type Required

0 when connecting to Cassandra, or 3 when connecting to Astra.

Integer

No