rancher添加用戶報錯x509: certificate has expired


錯誤提示:
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年了
 
 
驗證結果:

 

 
 
 
 
 
 
 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM