T here is what i did with my system: Step 1 - Installing Easy-RSA So i decided to update rancher certificate with my own created certificate. sudo timedatectl set-ntp off sudo date -set=' 09:03:00.000' (date before expiration) sudo docker exec -it rancher sh -c 'rm /var/lib/rancher/k3s/server/tls/dynamic-cert.json' kubectl delete secret -n kube-system k3s-serving (from the rancher cluster manager ui via Kubectl button) sudo timedatectl set-ntp on sudo docker restart rancher I tried to follow the recomendation of dnauck in this topic but certificate of rancher server was not changed. justincarter and many peoples got same problem with me. When i checked rancher container log, i got errors “ x509: certificate has expired or is not yet valid “Īlter google to find a solution, i found this topic.
And last weeks, i can’t access to Rancher UI.
docker run -d -restart=unless-stopped \ -p 80:80 -p 443:443 \ -privileged \ rancher/rancher:latest I used Default Rancher-generated Self-signed Certificate mode for fast deploying. I installed a rancher server to manage my own kubernestes cluster one year ago.