Click or drag to resize

BuilderWithSSL Method

Enables the use of SSL for the created Cluster. Calling this method will use default SSL options.

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

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