From 4a8f490e0c4c521e7f71d44a63a2b2ed511ba135 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Mon, 27 Jun 2022 00:20:04 +0300 Subject: [PATCH] fixup Signed-off-by: Vasiliy Tolstov --- mtls/mtls.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtls/mtls.go b/mtls/mtls.go index a0086a66..238be41b 100644 --- a/mtls/mtls.go +++ b/mtls/mtls.go @@ -179,7 +179,7 @@ type ServerOption func(*ServerOptions) func NewServerConfig(src *tls.Config) *tls.Config { dst := src.Clone() - dst.InsecureSkipVerify = true + // dst.InsecureSkipVerify = true dst.MinVersion = tls.VersionTLS13 dst.ClientAuth = tls.VerifyClientCertIfGiven return dst