How to securely connect to Heroku Redis via the command line?

戏子无情 提交于 2019-12-11 00:43:38

问题


The Heroku Redis CLI documentation states that connecting via the Heroku CLI is insecure, as it relies on the redis-cli binary.

Is there a secure way to connect to a Heroku Redis instance via a command-line interface? Connecting via my local machine, or though a dyno as a relay both work fine.


回答1:


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

SSL for Heroku Redis is only available on production tier plans. The hobby-dev plan is meant for testing and staging environments, not production.

https://devcenter.heroku.com/articles/securing-heroku-redis

Similar Q answered here: How can I securely connect to Heroku-hosted Redis from the command line?



来源:https://stackoverflow.com/questions/35302212/how-to-securely-connect-to-heroku-redis-via-the-command-line

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