Hi, I hava a question on Rotating Self-Signed CA Certificates.
I changed the data directory address of k3s to /data/k3s/. When I executed the command k3s certificate rotate-ca --path=/data/k3s/server/rotate-ca, an error occurred. The error message is as follows:
[root@localhost tls]# k3s certificate rotate-ca --path=/data/k3s/server/rotate-ca/
FATA[0000] open /var/lib/rancher/k3s/server/token: no such file or directory
[root@localhost tls]# k3s certificate rotate-ca --path=/data/k3s/server/rotate-ca
FATA[0000] open /var/lib/rancher/k3s/server/token: no such file or directory