Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

move-leader command on cluster with TLS enabled is not working #9805

Closed
hubo1016 opened this issue Jun 5, 2018 · 1 comment
Closed

move-leader command on cluster with TLS enabled is not working #9805

hubo1016 opened this issue Jun 5, 2018 · 1 comment
Labels
Milestone

Comments

@hubo1016
Copy link
Contributor

hubo1016 commented Jun 5, 2018

I have a cluster with 5 nodes, all of them in etcd v3.3.5.

  • TLS is set on both client authentications and peer authentications.
  • Authentication is enabled
  • Client is using the root user certification.

All the other functions are working properly, but the new move-leader command does not work. The following error log is reported in the server log:

etcd4_1         | 2018-06-05 10:35:24.183354 I | embed: rejected connection from "100.105.80.10:12650" (error "remote error: tls: bad certificate", ServerName "")

client command line is:

ETCDCTL_API=3 etcdctl --cacert=/etc/confd/keys/ca.pem --cert=/root/rootkey/root.cert --key=/root/rootkey/root.key --endpoints=https://100.105.150.23:2379 move-leader c42bd63b2d9bfb86
@hubo1016
Copy link
Contributor Author

hubo1016 commented Jun 5, 2018

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Development

No branches or pull requests

2 participants