如何使用Windows Server和/ Redis GUI Client的Redis-CLI连接使用transit加密启用的redis节点的Amazon Elasticache

发布于 2025-01-29 05:09:56 字数 535 浏览 5 评论 0原文

我在REST& amp; amp; amp; amp; aws Elasticache(禁用集群模式);启用了加密输送,并尝试使用Redis-CLI从Windows Server(在同一VPC内)连接。

尝试通过以下命令从服务器连接到重新限制器,

redis-cli -h <primary endpoint> - p 6379 

我可以连接并查看端点 主人...... awsamazon.com:6379>

但是,当我尝试运行redis命令时,命令提示符无限地挂起而没有任何输出。

帮助我解决这个问题。

注意:我正在尝试从Windows Server连接。

当我使用此命令时,

redis-cli -h master.****awsamazon.com.xx --tls - p 6379 

它会出现错误

“ - TLS”参数数量不好

谢谢。

I have a AWS elasticache(cluster mode disabled) with encryption at rest & encryption-in-transit enabled and trying to use redis-cli to connect from windows server (within same vpc).

Trying to connect to the RedisCluster from the server by following command

redis-cli -h <primary endpoint> - p 6379 

I'm able to connect and see the endpoint
Master......awsamazon.com:6379>

But when I try to run redis commands the command prompt just hangs up infinitely without any output.

Help me solve this issue.

Note: I'm trying to connect from windows server.

When I use this command-

redis-cli -h master.****awsamazon.com.xx --tls - p 6379 

It gives an error

"--tls" bad number of arguments

Thankyou in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

若能看破又如何 2025-02-05 05:09:56

如果启用了加密输送,则需要使用“ Stunnel”连接。请尝试根据

In case of redis with encryption-in-transit enabled, you need to connect using "stunnel". Please try installing stunnel and configure endpoints and ports according to this

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文