hazelcast / hazelcast-nodejs-client

Hazelcast Node.js Client
https://hazelcast.com/clients/node-js/
Apache License 2.0
150 stars 58 forks source link

[TRACKING ISSUE] [TPC] Allow TLS sockets in TPC Bootstrapping [HZ-2764] #1506

Open hz-devops-test opened 1 year ago

hz-devops-test commented 1 year ago

The tracking issue for the Java side PR.

See https://github.com/hazelcast/hazelcast/pull/25023 for details.


EE counterpart: hazelcast/hazelcast-enterprise#6244

This PR introduces a draft implementation of the TLS version of the TPC socket The TlsNioAsyncSocket implementation is going to be improved over a series of PRs to follow this one, along with increasing test coverage.

The PR also enhances the TPC bootstrapping code to allow the Enterprise version to create TLS TPC sockets based on the "classic" ports SSL/TLS configuration The TcpClientConnectionManager is changed accordingly to allow the client to establish TLS-secured connection with the TPC ports if these use TLS