Connect to Data Grid 8 using CLI generates Exception when enables SSL

Solution Verified - Updated -

Issue

  • Trying to connect to the Data Grid 8 cluster using cli.sh IP:PORT generates java.lang.IllegalStateException: No SSL TrustStore configuration in command output and below WARN trace in the server.log:
19:51:53,025 WARN  (SINGLE_PORT-ServerIO-4-1) [io.netty.handler.ssl.ApplicationProtocolNegotiationHandler] [id: 0x1783dae6, L:/192.168.0.10:11222 ! R:/192.168.0.10:43510] TLS handshake failed: io.netty.handler.ssl.NotSslRecordException: not an SSL/TLS record: 474554202f726573742f76322f73657276657220485454502f312e310d0a486f73743a203132372e302e302e313a31313232320d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a557365722d4167656e743a206f6b687474702f332e31342e382e7265646861742d30303030320d0a0d0a
    at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1254)
    at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1322)
    at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:501)
...

Environment

  • Red Hat Data Grid (RHDG)
    • 8.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content