This message was deleted.
# general
a
This message was deleted.
l
Rancher version 2.6.8
I can see for example that /var/lib/rancher/rke2/server/tls/client-kube-apiserver.crt => is expired
i
Hi Sebastian, I am using RKE2 without rancher and certificates are renewed automatically during a node reboot.
This is how I find expiration times of certificates:
Copy code
find /var/lib/rancher/rke2/server -name '*.crt' -exec openssl x509
-in {} -text \; | grep -iE 'subject:|Not After'
To be renewed during a reboot, the expiration time has to be nearer than 90 days.
c
yes, just restart rke2 on the server nodes within 3 months of the certs expiring and they will be renewed.. If you’re keeping up with patches at all, this should not be a problem as you would be restarting the rke2 service to apply updates.