Skip to content
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

[BUG] Can not connect to cluster with client ssl certificates #119

Open
mengzyou opened this issue Jan 14, 2023 · 3 comments
Open

[BUG] Can not connect to cluster with client ssl certificates #119

mengzyou opened this issue Jan 14, 2023 · 3 comments

Comments

@mengzyou
Copy link

Describe the bug
Use the same certifiates (ca.pem, client.crt, client.key),the etcdctl can connect to cluster successfully.

❯ etcdctl --cacert="ca.pem" --cert="client.crt" --key="client.key" --endpoints="https://etcd.fccl.local:2379" member list
c23fad347fee0a7, started, etcd-3, https://192.168.122.93:2380, https://192.168.122.93:2379,https://192.168.122.93:4001, false
757e7683f515eea2, started, etcd-2, https://192.168.122.92:2380, https://192.168.122.92:2379,https://192.168.122.92:4001, false
9f1c42ff2f0fc235, started, etcd-1, https://192.168.122.91:2380, https://192.168.122.91:2379,https://192.168.122.91:4001, false

But when configure it in etcd-manager

Screenshot_20230114_115640

It reported errors

E0114 11:51:51.752654155    5226 ssl_transport_security.cc:690] Invalid private key.
E0114 11:51:51.752748647    5226 ssl_security_connector.cc:112] Handshaker factory creation failed with TSI_INVALID_ARGUMENT.
E0114 11:51:51.752767642    5226 secure_channel_create.cc:132] Failed to create secure subchannel for secure name '192.168.122.91:2379'
E0114 11:51:51.752777857    5226 secure_channel_create.cc:50] Failed to create channel args during subchannel creation.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Etcd Settings
  2. Toggle on 'Secure connection', and browser the related certificates files.

Expected behavior
Connect to cluster successfully.

Screenshots
Se above.

Desktop (please complete the following information):

  • OS: Linux (openSUSE Leap)
  • OS version: 15.4
  • ETCD manager version: 1.2 (AppImage)
@orynkanov
Copy link

doesn't work for me either

@dgrechka
Copy link

for me as well

@hirey-dzhemiliev
Copy link

and for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants