Skip to content

Commit

Permalink
Change minimum TLS version to 1.3 for internal encryption (between ac…
Browse files Browse the repository at this point in the history
…tivator and queue-proxy) (#13887)

* change mininum TLS version for when internal encryption is activated

* revert tls1.3 for activator - main.go
  • Loading branch information
izabelacg authored Jun 3, 2023
1 parent d07bf78 commit 349b2d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/activator/certificate/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (cr *CertCache) updateCache(secret *corev1.Secret) {

cr.TLSConf.RootCAs = pool
cr.TLSConf.ServerName = certificates.LegacyFakeDnsName
cr.TLSConf.MinVersion = tls.VersionTLS12
cr.TLSConf.MinVersion = tls.VersionTLS13
}

func (cr *CertCache) handleCertificateUpdate(_, new interface{}) {
Expand Down

0 comments on commit 349b2d6

Please sign in to comment.