From f3f8aa6f12b96e3fafbd21b0164d4ee2684d1a3d Mon Sep 17 00:00:00 2001 From: mpl Date: Tue, 19 Jul 2016 17:38:41 +0200 Subject: [PATCH] pkg/webserver: force tls MinVersion to TLS1.2 Fixes #822 Change-Id: I26481f9666001ed13f9feb92e841c3b4d755a97d --- pkg/webserver/webserver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/webserver/webserver.go b/pkg/webserver/webserver.go index 8720ce615..1cb1b823c 100644 --- a/pkg/webserver/webserver.go +++ b/pkg/webserver/webserver.go @@ -176,6 +176,7 @@ func (s *Server) Listen(addr string) error { Rand: rand.Reader, Time: time.Now, NextProtos: []string{http2.NextProtoTLS, "http/1.1"}, + MinVersion: tls.VersionTLS12, } config.Certificates = make([]tls.Certificate, 1)