Sep 30 2022 01:43 PM
Hi,
I am trying to access Azure Cache for Redis on the TLS port 6380 though an Jedis Java client. However, i am seeing an SSL Exception. Do we need to import any TLS certificates to the Java trust store? If so how can I get the TLS certificate for the Azure cache for Redis resource?
redis.clients.jedis.exceptions.JedisConnectionException: javax.net.ssl.SSLException: Connection reset at redis.clients.jedis.Connection.flush(Connection.java:306) at redis.clients.jedis.Connection.getStatusCodeReply(Connection.java:242) at redis.clients.jedis.Connection.auth(Connection.java:372) at redis.clients.jedis.Connection.initializeFromClientConfig(Connection.java:345) at redis.clients.jedis.Connection.<init>(Connection.java:53) at redis.clients.jedis.Jedis.<init>(Jedis.java:212) at redis.clients.jedis.JedisFactory.makeObject(JedisFactory.java:181) at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:571) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:298) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:223) at redis.clients.jedis.util.Pool.getResource(Pool.java:34) at redis.clients.jedis.JedisPool.getResource(JedisPool.java:364)