Merge pull request #7675 from gyuho/tls-min-version

clientv3/yaml: use TLS 1.2 in min version
This commit is contained in:
Gyu-Ho Lee 2017-04-05 12:58:16 -07:00 committed by GitHub
commit 408de4124b

View File

@ -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,
}