public SSLEngine createSSLEngine(String hostName, int port, boolean clientSocket) {
    SSLEngine engine = getSslContext().createSSLEngine(hostName, port);
    configureSSLEngine(engine, hostName, port, clientSocket);
    return engine;
  }
Returns an SSLEngine that can be used to perform TLS handshakes and communication
geode-core/src/main/java/org/apache/geode/internal/net/SocketCreator.java