Redis: enable TLS dial for redis cluster

Created on 18 Apr 2018  路  4Comments  路  Source: go-redis/redis

I found out the redis.ClusterOptions dose not have TLS dial option, how can we add TLS dial in this case?

Thanks
Rui

Most helpful comment

I would try

TLSConfig: &tls.Config{
    InsecureSkipVerify: true,
},

All 4 comments

I think you need to copy TLSConfig option to ClusterOptions and update https://github.com/go-redis/redis/blob/master/cluster.go#L99-L120. Can you try it and send PR?

Sure, let me try and get back to you

what is minimum default setup I should use for SSL config? if I just want to enable it

I would try

TLSConfig: &tls.Config{
    InsecureSkipVerify: true,
},
Was this page helpful?
0 / 5 - 0 ratings

Related issues

aahoughton picture aahoughton  路  5Comments

pmenglund picture pmenglund  路  4Comments

ihsw picture ihsw  路  5Comments

youcandoit95 picture youcandoit95  路  3Comments

mollylogue picture mollylogue  路  4Comments