Skip to content

Commit 5ffe9ad

Browse files
Merge pull request #2029 from fultonj/OSPRH-27313
Set TLS 1.3 as minimum version for webhook/metrics servers
2 parents a759b85 + 1b0cba4 commit 5ffe9ad

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

cmd/main.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ func main() {
178178

179179
ctrl.SetLogger(zap.New(zap.UseFlagOptions(&opts)))
180180

181+
tlsOpts = append(tlsOpts, func(c *tls.Config) {
182+
c.MinVersion = tls.VersionTLS13
183+
})
184+
181185
// if the enable-http2 flag is false (the default), http/2 should be disabled
182186
// due to its vulnerabilities. More specifically, disabling http/2 will
183187
// prevent from being vulnerable to the HTTP/2 Stream Cancellation and

0 commit comments

Comments
 (0)