diff --git a/pkg/sessions/redis/redis_store.go b/pkg/sessions/redis/redis_store.go index a0f331b7..fdeebf6b 100644 --- a/pkg/sessions/redis/redis_store.go +++ b/pkg/sessions/redis/redis_store.go @@ -72,7 +72,10 @@ func newRedisClient(opts options.RedisStoreOptions) (*redis.Client, error) { } if opts.RedisCAPath != "" { - rootCAs, _ := x509.SystemCertPool() + rootCAs, err := x509.SystemCertPool() + if err != nil { + logger.Printf("failed to load system cert pool for redis connection, falling back to empty cert pool") + } if rootCAs == nil { rootCAs = x509.NewCertPool() }