diff --git a/etcdmain/grpc_proxy.go b/etcdmain/grpc_proxy.go index 6a8e39febd03..81fbbca8e65d 100644 --- a/etcdmain/grpc_proxy.go +++ b/etcdmain/grpc_proxy.go @@ -275,7 +275,7 @@ func newTLS(ca, cert, key string) *transport.TLSInfo { if ca == "" && cert == "" && key == "" { return nil } - return &transport.TLSInfo{CAFile: ca, CertFile: cert, KeyFile: key} + return &transport.TLSInfo{TrustedCAFile: ca, CertFile: cert, KeyFile: key} } func mustListenCMux(tlsinfo *transport.TLSInfo) cmux.CMux {