mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
functional-tester/rpcpb: create client with "InsecureSkipVerify"
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
31a4b692ee
commit
62e512d4cc
@ -52,6 +52,10 @@ func (m *Member) DialEtcdGRPCServer(opts ...grpc.DialOption) (*grpc.ClientConn,
|
||||
CertFile: m.ClientCertPath,
|
||||
KeyFile: m.ClientKeyPath,
|
||||
TrustedCAFile: m.ClientTrustedCAPath,
|
||||
|
||||
// TODO: remove this with generated certs
|
||||
// only need it for auto TLS
|
||||
InsecureSkipVerify: true,
|
||||
}
|
||||
tlsConfig, err := tlsInfo.ClientConfig()
|
||||
if err != nil {
|
||||
@ -90,6 +94,10 @@ func (m *Member) CreateEtcdClient(opts ...grpc.DialOption) (*clientv3.Client, er
|
||||
CertFile: m.ClientCertPath,
|
||||
KeyFile: m.ClientKeyPath,
|
||||
TrustedCAFile: m.ClientTrustedCAPath,
|
||||
|
||||
// TODO: remove this with generated certs
|
||||
// only need it for auto TLS
|
||||
InsecureSkipVerify: true,
|
||||
}
|
||||
tlsConfig, err := tlsInfo.ClientConfig()
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user