Search code examples
javasocketssslenterprisehazelcast

Hazelcast ssl enterprise version


Am using the trial version of hazelcast enterprise version for testing,

When I look into the documentation, it shows like

Properties props = new Properties(); ... ClientConfig config = new ClientConfig(); config.getSocketOptions().setSocketFactory( new SSLSocketFactory( props ) );

http://docs.hazelcast.org/docs/latest/manual/html/ssl.html

Where as when I try to implement it, there is no such method after getSocketOptions as setSocketFactory, Then am not sure how to implement ssl in hazelcast 3.4.2 version, My trial periods are running out,,, not satisfied with the SSL feature of hazelcast.

Regards, Harry


Solution

  • Harry,

    Did you have a chance to go through Hazelcast ssl example https://github.com/hazelcast/hazelcast-code-samples/tree/master/network-configuration/ssl ?

    It uses BasicSSLContextFactory implemented by hazelcast.