Kubernetes internal certificates have expired

Issue

Environment

Resolution

Run the following commands to refresh your internal certificates:

  1. sudo microk8s.refresh-certs -e server.crt
  2. sudo microk8s.refresh-certs -e front-proxy-client.crt
  3. sudo snap restart microk8s

Root Cause

Most likely caused by an open issue with microk8s regarding auto-renewing of certificates, see Issue 2489.


Revision #3
Created 2023-08-31 09:59:54 UTC by Kieran Mitchell Lane
Updated 2024-11-06 12:49:46 UTC by Kieran Mitchell Lane