Skip to content

SSL Connection is established with only setting SslConfig.SetEnabled flag to true #174

@alparslanavci

Description

@alparslanavci

When securely connecting to the cluster, the following configuration is enough to establish a SSL connection:

var sslConfig = new SSLConfig();
sslConfig.SetEnabled(true);

ClientConfig clientConfig = new ClientConfig();
clientConfig.GetNetworkConfig().AddAddress("127.0.0.1");
clientConfig.GetNetworkConfig().SetSSLConfig(sslConfig);

var client = HazelcastClient.NewHazelcastClient(clientConfig);

However, you need to provide a valid certificate within a keystore - setting sslConfig.setEnabled to true wouldn't be sufficient enough.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: CriticalCritical Priority.Type: DefectIssue is a Defect ie a Bug that needs to be fixed.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions