This message was deleted.
# rke2
a
This message was deleted.
1
c
Are you sure you’re using the latest cert and key from rke2.yaml? The admin cert should be refreshed when they are about to expire, along with the rest of the client and server certs
If you made a copy of it at some point, you might need to update it.
h
I'll double check what my jnr admin pulled. So this means the yaml is updated on a certificate rollover, be that automated, or manual?
c
the admin kubeconfig is regenerated every time RKE2 starts. The client and server certs are also checked during startup, and renewed if they are within 90 days of expiring.
👍 1
If you copy the admin kubeconfig somewhere else, then the base64-encoded certificate embedded in it would have expired, and you’ll need to obtain a new copy from the server.
👍 1
h
Thank you @creamy-pencil-82913 - I've pulled the file myself, and confirmed that works. Really appreciate that. Great to clarify the roll over process too!