diff --git a/core/netutil/tcp.go b/core/netutil/tcp.go index 9f33ee81..7a2b37e1 100644 --- a/core/netutil/tcp.go +++ b/core/netutil/tcp.go @@ -106,6 +106,7 @@ func CERT(addr string, cert tls.Certificate) (net.Listener, error) { tlsConfig := &tls.Config{ Certificates: []tls.Certificate{cert}, PreferServerCipherSuites: true, + MinVersion: tls.VersionTLS11, } return tls.NewListener(l, tlsConfig), nil } @@ -145,7 +146,7 @@ func LETSENCRYPT(addr string, reuse bool, serverName string, cacheDirOptional .. } else { m.Cache = autocert.DirCache(cacheDir) } - tlsConfig := &tls.Config{GetCertificate: m.GetCertificate, MinVersion: tls.VersionTLS13} + tlsConfig := &tls.Config{GetCertificate: m.GetCertificate, MinVersion: tls.VersionTLS11} // use InsecureSkipVerify or ServerName to a value if serverName == "" {