页面树结构
转至元数据结尾
转至元数据起始

问题场景

用户在访问rancher管理容器平台时,平时都可以正常访问,突然出现页面无法访问;

解决方案

一般这种情况都是Rancher的证书过期导致,Rancher的证书有效期是1年;

1、确认证书的有效期,进入到Rancher安装目录;

cd Smartbi_All/rancher_data/management-state/tls

2、查看证书有效期;

openssl x509 -enddate -noout -in localhost.crt

3、重命名证书;

mv localhost.crt localhost.crt_bak
mv localhost.key localhost.key_bak
mv token-node.crt token-node.crt_bak
mv token-node.key token-node.key_bak

4、重启smartbi-rancher容器,会自动生成新的localhost.crt证书;

docker restart smartbi-rancher

  • 无标签