Browse Source

tls: Remove support for TLS 1.0 and TLS 1.1

master
Matthew Holt 5 years ago
parent
commit
2cb01d43cf
No known key found for this signature in database GPG Key ID: 2A349DD577D586A5
  1. 3
      modules/caddytls/values.go

3
modules/caddytls/values.go

@ -122,10 +122,7 @@ var defaultCurves = []tls.CurveID{
}
// SupportedProtocols is a map of supported protocols.
// Note that HTTP/2 only supports TLS 1.2 and higher.
var SupportedProtocols = map[string]uint16{
"tls1.0": tls.VersionTLS10,
"tls1.1": tls.VersionTLS11,
"tls1.2": tls.VersionTLS12,
"tls1.3": tls.VersionTLS13,
}

Loading…
Cancel
Save