bright-orange-90896
07/05/2023, 11:51 PMk3s[2740186]: E0705 16:26:42.964091 2740186 authentication.go:70] "Unable to authenticate the request" err="[x509: certificate has expired or is not yet valid: current time 2023-07-05T16:26:42-07:00 is after 2023-06-14T23:49:53Z, verifying certificate SN=209369791103342885, SKID=, AKID=98:B3:30:8B:D6:CD:D6:14:A5:E0:DC:88:DB:00:B5:59:BC:BD:B8:58 failed: x509: certificate has expired or is not yet valid: current time 2023-07-05T16:26:42-07:00 is after 2023-06-14T23:49:53Z]"
The cluster is working fine, I tried to update to the 1.27 version, I followed all the certificate rotation methods that I could find on any issues nothing helped so far. I would appreciate some help.
Things I have tried:
# Stop K3s
systemctl stop k3s
# Rotate certificates
k3s certificate rotate
# Start K3s
systemctl start k3s
kubectl delete secret -n kube-system k3s-serving
rm -f /var/lib/rancher/k3s/server/tls/dynamic-cert.json
systemctl restart k3s