How to check k8s certificate expiration?

Hey all, how do I check when k8s certificates in a k0s cluster will expire?
I tried using kube admin, but I don’t know if it’s the best way.

One way is with the standard openssl tooling:

openssl x509 -in /var/lib/k0s/pki/server.crt -text -noout

The serving certs are generated with 1 year validity, k0s will renew them at every restart (reboot, upgrade etc. cases)