Click or drag to resize

BuilderWithSSL Method (SSLOptions)

Enables the use of SSL for the created Cluster using the provided options.

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
public Builder WithSSL(
	SSLOptions sslOptions
)

Parameters

sslOptions
Type: CassandraSSLOptions
SSL options to use.

Return Value

Type: Builder
this builder
Remarks
If SSL is enabled, the driver will not connect to any Cassandra nodes that doesn't have SSL enabled and it is strongly advised to enable SSL on every Cassandra node if you plan on using SSL in the driver. Note that SSL certificate common name(CN) on Cassandra node must match Cassandra node hostname.
See Also