From 328a7c8cb7aedc6c0303bfd011e7511e5881c631 Mon Sep 17 00:00:00 2001 From: Nir Ben-Rei Date: Sun, 14 Aug 2022 16:38:33 +0300 Subject: [PATCH] I320494 set ssl verification to false in redis client (#784) disable ssl verification for redis --- pkg/sm/sm.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/sm/sm.go b/pkg/sm/sm.go index 4341b80d4..2109646b0 100644 --- a/pkg/sm/sm.go +++ b/pkg/sm/sm.go @@ -114,7 +114,9 @@ func New(ctx context.Context, cancel context.CancelFunc, e env.Environment, cfg if cfg.Cache.Enabled { var tlsConfig *tls.Config if cfg.Cache.TLSEnabled { - tlsConfig = &tls.Config{MinVersion: tls.VersionTLS12} + tlsConfig = &tls.Config{ + InsecureSkipVerify: true, + } } redisClient = redis.NewClient(&redis.Options{ Addr: cfg.Cache.Host + ":" + strconv.Itoa(cfg.Cache.Port),