diff --git a/cmd/main.go b/cmd/main.go index 50742e7b..e3dcd556 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -108,6 +108,10 @@ func main() { ctrl.SetLogger(zap.New(zap.UseFlagOptions(&opts))) + tlsOpts = append(tlsOpts, func(c *tls.Config) { + c.MinVersion = tls.VersionTLS13 + }) + // if the enable-http2 flag is false (the default), http/2 should be disabled // due to its vulnerabilities. More specifically, disabling http/2 will // prevent from being vulnerable to the HTTP/2 Stream Cancellation and