如何在不使用 stunnel 的情况下从加密的 Amazon ElastiCache Redis 服务器读写?

How to read write from Encrypted Amazon ElastiCache Redis Server without using stunnel?

我将 Amazon ElastiCache Redis 服务器用作传输中加密和静态加密。根据我在文档中阅读的内容: https://aws.amazon.com/premiumsupport/knowledge-center/elasticache-connect-redis-node/ 我们需要使用 install stunnel 并通过 localhost 从我们的本地环境或 EC2 实例访问服务器。有什么办法可以避免吗?我正在使用 Redisson 作为 Java API.

终于找到了一种无需使用 Stunnel 即可与 AWS Encrypted Redis 集群交互的方法。发现我们可以使用前缀 "rediss://" 而不是 "redis://"(额外的 s 表示它是 SSL 客户端),同时通过 API.

设置地址