登陆rancher控制台,发现登陆不了,要么就报错误: dockerlogsftail10smartbirancher查看日志,发现报证书过期问题2022060806:23:55〔INFO〕Rancherarguments{ACMEDomains:〔〕AddLocal:autoEmbedded:falseKubeConfig:HTTPListenPort:80HTTPSListenPort:443K8sMode:autoDebug:falseNoCACerts:falseListenConfig:nilAuditLogPath:varlogauditlograncherapiaudit。logAuditLogMaxage:10AuditLogMaxsize:100AuditLogMaxbackup:10AuditLevel:3}2022060806:23:55〔INFO〕Listeningontmplog。sock2022060806:23:55〔INFO〕Runningetcddatadirmanagementstateetcd2022060806:23:56〔INFO〕Waitingforservertobecomeavailable:Gethttps:localhost:6443version?timeout30s:x509:certificatehasexpiredorisnotyetvalid2022060806:23:58〔INFO〕Waitingforservertobecomeavailable:Gethttps:localhost:6443version?timeout30s:x509:certificatehasexpiredorisnotyetvalid2022060806:24:00〔INFO〕Waitingforservertobecomeavailable:Gethttps:localhost:6443version?timeout30s:x509:certificatehasexpiredorisnotyetvalid2022060806:24:02〔INFO〕Waitingforservertobecomeavailable:Gethttps:localhost:6443version?timeout30s:x509:certificatehasexpiredorisnotyetvaliddockerlogsftail10smartbirancher查看ahrefhttps:www。bs178。comrizhitargetblankclassinfotextkey日志adockerlogstail10000smartbiranchersmartbirancher。log输出最新10000行ahrefhttps:www。bs178。comrizhitargetblankclassinfotextkey日志acd。。SmartbiAllrancherdatamanagementstatetls进入到该目录opensslx509enddatenooutinlocalhost。crt查看正式是否过期mvlocalhost。crtlocalhost。crtbakmvlocalhost。keylocalhost。keybakmvtokennode。crttokennode。crtbakmvtokennode。keytokennode。keybakdockerrestartsmartbirancher重启rancher服务,证书有效期是一年 web登陆rancherhttps:ip:8443login