-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can not connect the cluster with the cert and muli-addr #87
Comments
(I have formatted the description a bit to make it more readable). I cannot reproduce the error, I guess you are deploying etcd on different nodes (different ip and hostname) using the same SSL keys? |
You could get a pesudo-distributed deployment via
|
yes, i deploy etcd on different nodes (different ip and host), because our production environment is different nodes
the ca-csr.json file
the etcd-csr.json file
ls etcd*pem |
When generating the keys have you replaces the |
yes, i replaced, i test cert with the etcdctl , it can get result success,
|
I will try the multi-host setting latter. |
ok, thank you |
…with SSL. Resolves etcd-cpp-apiv3#87. Signed-off-by: Tao He <sighingnow@gmail.com>
Will be fixed by #89, please add a common hostname, e.g., etcd::Client* m = etcd::Client::WithSSL("https://192.168.8.133:2379",
"./ca.pem", "./etcd.pem", "./etcd-key.pem", "etcd"); |
etcd server version 3.4.13,
i write a demo to connect the cluster with the cert, but it get can not cannot connect
i have three nodes
node1
node2
node3
i test with etcdctl, it test ok
i write a demo
but cannot connect with muli-addr
print
when i change to single addr, or, remove cert in cluster ,it is ok
print
The text was updated successfully, but these errors were encountered: