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

patrickwhite256 picture patrickwhite256  路  7Comments

MaerF0x0 picture MaerF0x0  路  7Comments

pranas picture pranas  路  8Comments

mouhong picture mouhong  路  3Comments

qiqisteve picture qiqisteve  路  3Comments