-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change minimum TLS version to 1.3 for internal encryption (between activator and queue-proxy) #13887
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #13887 +/- ##
=======================================
Coverage 86.21% 86.21%
=======================================
Files 199 199
Lines 14767 14767
=======================================
Hits 12731 12731
Misses 1734 1734
Partials 302 302
☔ View full report in Codecov by Sentry. |
cmd/activator/main.go
Outdated
@@ -285,7 +285,7 @@ func main() { | |||
name, server := "https", pkgnet.NewServer(":"+strconv.Itoa(networking.BackendHTTPSPort), ah) | |||
go func(name string, s *http.Server) { | |||
s.TLSConfig = &tls.Config{ | |||
MinVersion: tls.VersionTLS12, | |||
MinVersion: tls.VersionTLS13, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems TLS 1.3 between Ingress -> activator
has an issue - probably related to envoyproxy/envoy#9300
Could you try to revert this line if it will make CI pass? I think we should change this TLS min version carefully or at least by separate PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Testing this suggestion: tests running.
@izabelacg @nak3 It seems that the latest update is that it works (TLS 1.3 is used) if you set both the minimum and the maximum version. Istio sets the same. Could we try that eg. set MaxVersion=tls.VersionTLS13 as well in the tls config? |
Testing tls max version suggestion in this PR: #13930 |
cmd/activator/main.go
Outdated
@@ -285,6 +285,7 @@ func main() { | |||
name, server := "https", pkgnet.NewServer(":"+strconv.Itoa(networking.BackendHTTPSPort), ah) | |||
go func(name string, s *http.Server) { | |||
s.TLSConfig = &tls.Config{ | |||
//MinVersion: tls.VersionTLS13, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Could you open an github issue for the tracker and add a comment with the issue number?
(If you can fix this soon, you don't need to open the issue, though.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened issue: #14057
I think the workaround |
/lgtm Thank you! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: izabelacg, nak3 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…tivator and queue-proxy) (knative#13887) * change mininum TLS version for when internal encryption is activated * revert tls1.3 for activator - main.go
Proposed Changes
activator
andqueue-proxy
.TLS 1.3 comes with numerous enhancements, such as a quicker TLS handshake and more secure cipher suites.
Release Note