首页 > 其他分享 >rancher添加用户报错x509: certificate has expired Internal error occurred: failed calling webhook "ran

rancher添加用户报错x509: certificate has expired Internal error occurred: failed calling webhook "ran

时间:2022-08-19 17:25:08浏览次数:70  
标签:tls rancherauth certificate webhook 报错 io cattle rancher

错误信息:

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年了

标签:tls,rancherauth,certificate,webhook,报错,io,cattle,rancher
From: https://www.cnblogs.com/colder/p/16602709.html

相关文章