Bump minimum TLS version from SSLv3 to TLSv1.0

This commit is contained in:
Jordan Liggitt
2014-12-10 09:13:15 -05:00
parent 0f88d149cd
commit 2475123d3c
2 changed files with 4 additions and 0 deletions

View File

@@ -68,6 +68,8 @@ func NewClientCertTLSTransport(certFile, keyFile, caFile string) (*http.Transpor
certPool.AppendCertsFromPEM(data)
return &http.Transport{
TLSClientConfig: &tls.Config{
// Change default from SSLv3 to TLSv1.0 (because of POODLE vulnerability)
MinVersion: tls.VersionTLS10,
Certificates: []tls.Certificate{
cert,
},