Hi. I have a big problem with rancher certificate....
# rke2
e
Hi. I have a big problem with rancher certificate. I use self signed certificate and CA expired. I generated new one but Rancher agents running on RKE2 cannot connect. Getting the following errors:
Copy code
[INFO]  Label: cattle.io/os=linux
[INFO]  Role requested: etcd
[INFO]  Role requested: controlplane
[INFO]  CA strict verification is set to false
[INFO]  Using default agent configuration directory /etc/rancher/agent
[INFO]  Using default agent var directory /var/lib/rancher/agent
[INFO]  Determined CA is necessary to connect to Rancher
[INFO]  Successfully downloaded CA certificate
[INFO]  Value from <https://rancher.customer01.example.com/cacerts> is an x509 certificate
curl: (60) SSL certificate problem: authority and subject key identifier mismatch
More details here: <https://curl.se/docs/sslcerts.html>
I think I should copy the certs from rancher to RKE2 but I am not sure from where to where. Or is there better approach to fix it?