rancher2.7.5更新web证书方法

1.docker exec -it xxxx /bin/bash

2.

kubectl --insecure-skip-tls-verify -n kube-system delete secrets k3s-serving
 
kubectl --insecure-skip-tls-verify delete secret serving-cert -n cattle-system
 
rm -f /var/lib/rancher/k3s/server/tls/dynamic-cert.json

3.重启 rancher-server
posted @ 2023-11-13 17:52  alexhe  阅读(54)  评论(0编辑  收藏  举报