How can I securely connect to Heroku-hosted Redis from the command line?

一个人想着一个人 提交于 2019-12-23 16:45:57

问题


There's an older question about this, but no answers: How to securely connect to Heroku Redis via the command line?

How are people connecting to Redis remotely? Just ignoring the security warning when running heroku redis:cli?

WARNING: Insecure action. All data, including the Redis password, will not be encrypted.

Or is it simply "Don't do that"? The article linked from the older post mentions that redis-cli connections are insecure, but only discusses how to subvert the warning.

I was surprised not to find more discussion about this.


回答1:


I believe this is because you're using the hobby-dev tier of Heroku Redis which seems not to support SSL. According to Heroku here:

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.

If you upgrade a premium or higher plan you shouldn't have this issue.



来源:https://stackoverflow.com/questions/41247368/how-can-i-securely-connect-to-heroku-hosted-redis-from-the-command-line

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!