Redis support for TLS

Just starting to get redis working w/ our gateways in Azure and want to use TLS. Just started testing 2.6.2 which this issue says it was support was added for but still having issues

When can we anticipate this being available for use? Really need this

Hi there,

  "storage": {
    "type": "redis",
    "host": "tyk.redis.cache.windows.net",
    "port": 6380,
    "password": "MYPASSWORD",
    "use_ssl": true,
    "database": 0,
    "optimisation_max_idle": 2000,
    "optimisation_max_active": 4000,
    "enable_cluster": false
  },

I have just created a redis within Azure, and it seems to work fine with SSL enabled.

Do you have example of the specific problem being faced?

Thanks

Ahmet

thanks, was noted here: Add support for TLS redis connections · Issue #1289 · TykTechnologies/tyk · GitHub

perhaps missing the SSL option

The panic in Add support for TLS redis connections · Issue #1289 · TykTechnologies/tyk · GitHub looks like it could be a red-herring. I think I replied to the github msg as you were writing your message above.

Try adding the "use_ssl": true option and let us know how you get on.

Thanks

Hi,
thanks for the fast response!
The option “use_ssl”: true does the trick! However I couldn’t find it in the docs
https://tyk.io/docs/configure/tyk-gateway-configuration-options
under the storage options so I wasn’t aware of it.
Maybe the error message could be improved also.

Thanks.

1 Like

added documentation update issue Update documentation for redis SSL · Issue #1790 · TykTechnologies/tyk · GitHub

1 Like