diff --git a/server/etcdmain/grpc_proxy.go b/server/etcdmain/grpc_proxy.go index f3c789f5f42..01fe1b80beb 100644 --- a/server/etcdmain/grpc_proxy.go +++ b/server/etcdmain/grpc_proxy.go @@ -576,7 +576,6 @@ func newHTTPTransport(ca, cert, key string) (*http.Transport, error) { Certificates: []tls.Certificate{keyPair}, RootCAs: caPool, } - tlsConfig.BuildNameToCertificate() tr.TLSClientConfig = tlsConfig } else if grpcProxyInsecureSkipTLSVerify { tlsConfig := &tls.Config{InsecureSkipVerify: grpcProxyInsecureSkipTLSVerify}