rancher添加用户报错x509: certificate has expired Internal error occurred: failed calling webhook "rancherauth.cattle.io":
2022-08-19 17:13 假面Wilson 阅读(807) 评论(0) 收藏 举报错误信息:
Internal error occurred: failed calling webhook "rancherauth.cattle.io": Post https://rancher-webhook.cattle-system.svc:443/v1/webhook/validation?timeout=10s: x509: certificate has expired or is not yet valid
查看证书有效期,已过期24天

解决方法:
0、备份cattle-webhook-tls证书的yaml文件(yaml文件里面包含了tls.crt和tls.key信息)
1、 删除过期的cattle-webhook-tls证书
2、重启rancher-webhook pod
3、再查看证书有效期,已经是1年了
浙公网安备 33010602011771号