mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
clientv3/yaml: use TLS 1.2 in min version
To be consistent with 'pkg/transport' Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
This commit is contained in:
@@ -73,7 +73,7 @@ func NewConfig(fpath string) (*clientv3.Config, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tlscfg := &tls.Config{
|
tlscfg := &tls.Config{
|
||||||
MinVersion: tls.VersionTLS10,
|
MinVersion: tls.VersionTLS12,
|
||||||
InsecureSkipVerify: yc.InsecureSkipTLSVerify,
|
InsecureSkipVerify: yc.InsecureSkipTLSVerify,
|
||||||
RootCAs: cp,
|
RootCAs: cp,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user