Skip to content

Commit 172ad72

Browse files
author
Alice Wasko
authored
Merge pull request emissary-ingress#5248 from teejaded/apiext-tlsversion
apiext: set minimum tls version to 1.3
2 parents 330582b + 5c5325f commit 172ad72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/apiext/internal/serve.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ func ServeHTTPS(ctx context.Context, port int, ca *CA, scheme *k8sRuntime.Scheme
9292
sc := &dhttp.ServerConfig{
9393
Handler: mux,
9494
TLSConfig: &tls.Config{
95+
MinVersion: tls.VersionTLS13,
9596
GetCertificate: func(clientHello *tls.ClientHelloInfo) (*tls.Certificate, error) {
9697
return ca.GenServerCert(ctx, clientHello.ServerName)
9798
},

0 commit comments

Comments
 (0)