prefer server cipher suites (#29379)

G402 (CWE-295):  TLS PreferServerCipherSuites set false.

Signed-off-by: bergquist <carl.bergquist@gmail.com>
pull/29391/head
Carl Bergquist 5 years ago committed by GitHub
parent 2af4deedd2
commit aebe8985c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/api/http_server.go

@ -249,7 +249,7 @@ func (hs *HTTPServer) configureHttp2() error {
tlsCfg := &tls.Config{
MinVersion: tls.VersionTLS12,
PreferServerCipherSuites: false,
PreferServerCipherSuites: true,
CipherSuites: []uint16{
tls.TLS_CHACHA20_POLY1305_SHA256,
tls.TLS_AES_128_GCM_SHA256,

Loading…
Cancel
Save