mirror of
https://github.com/LBRYFoundation/lbcwallet.git
synced 2025-08-31 09:21:32 +00:00
Set TLS1.2 as the minimum acceptable TLS version.
This commit is contained in:
parent
21faab5e3e
commit
74d7178aa8
1 changed files with 2 additions and 1 deletions
|
@ -585,7 +585,8 @@ func BtcdConnect(certificates []byte, reply chan error) {
|
|||
pool := x509.NewCertPool()
|
||||
pool.AppendCertsFromPEM(certificates)
|
||||
config.TlsConfig = &tls.Config{
|
||||
RootCAs: pool,
|
||||
RootCAs: pool,
|
||||
MinVersion: tls.VersionTLS12,
|
||||
}
|
||||
|
||||
// btcd requires basic authorization, so we use a custom config with
|
||||
|
|
Loading…
Add table
Reference in a new issue