Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2022-06-27 00:20:04 +03:00
parent eb8c1332f0
commit 4a8f490e0c
1 changed files with 1 additions and 1 deletions

View File

@ -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