关于此有一个较旧的问题,但没有答案:How to securely connect to Heroku Redis via the command line?
人们如何远程连接到 Redis?只是在运行 heroku redis:cli
时忽略安全警告?
WARNING: Insecure action. All data, including the Redis password, will not be encrypted.
或者只是“不要那样做”?从旧帖子链接的文章提到 redis-cli 连接是不安全的,但只讨论如何破坏警告。
我很惊讶没有找到更多关于这个的讨论。
最佳答案
我相信这是因为您使用的是 Heroku Redis 的 hobby-dev
层,它似乎不支持 SSL。根据 Heroku 的说法:
https://devcenter.heroku.com/articles/securing-heroku-redis
SSL for Heroku Redis is only available on production tier plans. The hobby-dev plan is meant for testing and staging environments, not production.
如果您升级高级或更高级别的计划,则不会出现此问题。
关于security - 如何从命令行安全地连接到 Heroku 托管的 Redis?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41247368/