Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

util: Use TLSv1.2 as minimum TLS version by default #36037

Merged
merged 12 commits into from
Jan 4, 2024
2 changes: 1 addition & 1 deletion pkg/util/misc.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ func LoadTLSCertificates(ca, key, cert string, autoTLS bool, rsaKeySize int) (tl

requireTLS := tlsutil.RequireSecureTransport.Load()

var minTLSVersion uint16 = tls.VersionTLS11
var minTLSVersion uint16 = tls.VersionTLS12
switch tlsver := config.GetGlobalConfig().Security.MinTLSVersion; tlsver {
case "TLSv1.0":
minTLSVersion = tls.VersionTLS10
Expand Down