Hi, I’m having problems adding a node to a rke2 cluster created by Rancher 2.6. Rancher is running in HA mode on an RKE2 cluster by itself and I have an external load balancer (Traefik) with a self-signed cert in front of it. The registration address points to this LB and I’m able to get the agent-script by adding --insecure flag to curl but the check steps in the script are failing with the following error:
"[INFO] Label: cattle.io/os=linux
[INFO] Role requested: etcd
[INFO] Role requested: controlplane
[INFO] Using default agent configuration directory /etc/rancher/agent
[INFO] Using default agent var directory /var/lib/rancher/agent
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: curl - SSL CA Certificates
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
[ERROR] 000 received while testing Rancher connection. Sleeping for 5 seconds and trying again
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: curl - SSL CA Certificates"
Does anyone have an idea what I’m doing wrong here?