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:
parent
83577a5d08
commit
dee467dc24
@ -73,7 +73,7 @@ func NewConfig(fpath string) (*clientv3.Config, error) {
|
||||
}
|
||||
|
||||
tlscfg := &tls.Config{
|
||||
MinVersion: tls.VersionTLS10,
|
||||
MinVersion: tls.VersionTLS12,
|
||||
InsecureSkipVerify: yc.InsecureSkipTLSVerify,
|
||||
RootCAs: cp,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user