Skip to content

Allow to specify tls options for Redis #1006

Description

@arnaud-thorel-of

Hi everyone,

During my tests with sourcebot, I figured that it doesn't work with external redis using tls with SNI validation because of the construction of ioredis connector :

const redis = new Redis(env.REDIS_URL, {

Is it possible de add in new versions the ability to override tls options ?

In my case I just need the servername options, but maybe other has to configure other options

tls: { servername: *SERVER_NAME* }

List of tls options : https://nodejs.org/api/tls.html

Maybe you can allow us to override the entire tls, or map each tls option with a VAR_ENV

REDIS_TLS={ servername: myServerName}
REDIS_TLS_SERVERNAME=myServerName

Thx a lot for your responses

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions