Skip to content

Commit

Permalink
pkg/server: add a note on disallowing tls 1.1/1.0
Browse files Browse the repository at this point in the history
Co-Authored-By: Colin Walters <[email protected]>
Signed-off-by: Antonio Murdaca <[email protected]>
  • Loading branch information
2 people authored and openshift-cherrypick-robot committed Apr 24, 2020
1 parent 0312cb0 commit b3d27cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/server/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ func (a *APIServer) Serve() {
mcs := &http.Server{
Addr: fmt.Sprintf(":%v", a.port),
Handler: a.handler,
// We don't want to allow 1.1 as that's old. This was flagged in a security audit.
TLSConfig: &tls.Config{
MinVersion: tls.VersionTLS12,
},
Expand Down

0 comments on commit b3d27cd

Please sign in to comment.