Click or drag to resize

DseClusterBuilderWithSSL Method (SSLOptions)

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

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public DseClusterBuilder WithSSL(
	SSLOptions sslOptions
)

Parameters

sslOptions
Type: DseSSLOptions
SSL options to use.

Return Value

Type: DseClusterBuilder
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