Set TLS1.2 as the minimum acceptable TLS version.

This commit is contained in:
Josh Rickmar 2013-11-21 16:41:15 -05:00
parent 21faab5e3e
commit 74d7178aa8

View file

@ -586,6 +586,7 @@ func BtcdConnect(certificates []byte, reply chan error) {
pool.AppendCertsFromPEM(certificates)
config.TlsConfig = &tls.Config{
RootCAs: pool,
MinVersion: tls.VersionTLS12,
}
// btcd requires basic authorization, so we use a custom config with