Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable redis SSL/TLS authentication #43

Closed
trivedi opened this issue Jul 14, 2022 · 1 comment · Fixed by #57
Closed

Enable redis SSL/TLS authentication #43

trivedi opened this issue Jul 14, 2022 · 1 comment · Fixed by #57
Labels

Comments

@trivedi
Copy link

trivedi commented Jul 14, 2022

As of redis 6, Heroku now requires you to use secure (rediss) urls. Additionally, Heroku is using self-signed certificates. This doesn't seem to work with the current setup.

I believe the change required here is to check the protocol and if rediss, pass in the following option:

tls: {
  rejectUnauthorized: false,
}

We might also want to upgrade the redis node package as well from 3 to 4 although there may be some breaking changes.

joeyguerra added a commit that referenced this issue Jul 23, 2023
…elf-signed cert.

By setting the following environment variables:

REDIS_URL = rediss://localhost:6379 (or whatever the host is)
REDIS_REJECT_UNAUTHORIZED = 'false'

fixes #43
@github-actions
Copy link

🎉 This issue has been resolved in version 1.1.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant