1. "Unable to authenticate the request" err="[x509: certificate has expired or is not yet valid: current tim......
see https://github.com/k3s-io/k3s/issues/5163
# 查看证书
kubectl --insecure-skip-tls-verify get secret -n kube-system k3s-serving -o jsonpath='{.data.tls\.crt}' | base64 -d | openssl x509 -noout -text | grep Not
临时解决
-
现重新生成证书
-
https://github.com/k3s-io/k3s/issues/5163#issuecomment-1189750770 移除旧的,然后重新启动一下..、
或者参考一下官网文档 https://docs.k3s.io/zh/cli/certificate#轮换自签名-ca-证书
标签:certificate,https,错误,证书,io,k3s,异常,issues From: https://www.cnblogs.com/whm-blog/p/18085601