I'm deploying a flask app on Heroku using a Redis premium plan. I get the following error: 'SSL Certification Verify Failed'. Attempted fixes:
- Downgrading to Redis 5
- Passing
ssl_cert_reqs=None
to theRedis
constructor inredis-py
A solution to this problem could be:
- Explain how to disable TLS certification on heroku redis premium plans
- Explain how to make TLS certification work on heroku redis premium plans
From Heroku's docs, this may be a hint: 'you must enable TLS in your Redis client’s configuration in order to connect to a Redis 6 database'. I don't understand what this means.