Skip to content

Commit 1b0cba4

Browse files
committed
Set TLS 1.3 as minimum version for webhook/metrics servers
Jira: OSPRH-27313 Assisted-By: Claude Sonnet 4.5 <noreply@anthropic.com> Signed-off-by: John Fulton <fulton@redhat.com>
1 parent 7fde865 commit 1b0cba4

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
@@ -172,6 +172,10 @@ func main() {
172172

173173
ctrl.SetLogger(zap.New(zap.UseFlagOptions(&opts)))
174174

175+
tlsOpts = append(tlsOpts, func(c *tls.Config) {
176+
c.MinVersion = tls.VersionTLS13
177+
})
178+
175179
// if the enable-http2 flag is false (the default), http/2 should be disabled
176180
// due to its vulnerabilities. More specifically, disabling http/2 will
177181
// prevent from being vulnerable to the HTTP/2 Stream Cancellation and

0 commit comments

Comments
 (0)