Я получаю исключение ниже при попытке подключиться к серверу Redis AWS elasticache из контейнера, развернутого в AWS Kubernetes.
Ошибка:
nested exception is redis.clients.jedis.exceptions.JedisConnectionException: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
Код Java:
JedisPoolConfig poolConfig = new JedisPoolConfig();
String url = "rediss://elsticache.abc.cache.amazonaws.com:6379";//Note rediss with "ss"
JedisPool jedisPool = new JedisPool(poolConfig, url);
Jedis jedis = jedisPool.getResource();
pom.xml:
redis.clients
jedis
5.2.0
Подробнее здесь: https://stackoverflow.com/questions/791 ... -sslhandsh
Мобильная версия