hubotio / hubot-redis-brain

A hubot script to persist hubot's brain using redis
69 stars 55 forks source link

Enable redis SSL/TLS authentication #43

Closed trivedi closed 1 year ago

trivedi commented 2 years ago

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.

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 1.1.6 :tada:

The release is available on:

Your semantic-release bot :package::rocket: