https://rancher.com/ logo
Title
b

bored-rain-98291

08/25/2022, 5:59 PM
We are trying to verify encryption at rest. Another member of the team already has etcdctl but everytime he attempts he gets the following:
l

lemon-midnight-46796

08/26/2022, 1:32 PM
I think you should add following env variables for running etcdctl:
env ETCDCTL_ENDPOINTS='<https://127.0.0.1:2379>' ETCDCTL_CACERT='/var/lib/rancher/rke2/server/tls/etcd/server-ca.crt' ETCDCTL_CERT='/var/lib/rancher/rke2/server/tls/etcd/server-client.crt' ETCDCTL_KEY='/var/lib/rancher/rke2/server/tls/etcd/server-client.key'