Docker版本安装rancher证书过期

Rancher Server 设置

  • Rancher 版本:v2.5.8
  • 安装选项 (Docker install/Helm Chart): docker

下游集群信息

  • Kubernetes 版本: v1.20.11
  • Cluster Type (Local/Downstream): Local

用户信息

  • 登录用户的角色是什么? (管理员/集群所有者/集群成员/项目所有者/项目成员/自定义):管理员

主机操作系统:Centos 7.9

问题描述:使用rancher-cli 工具链接集群提示证书过期,随后使用kubectl尝试链接集群依旧提示证书过期,rancher web登录正常

**截图:


**

其他上下文信息:rancher-server 日志如下

日志
E1113 09:05:32.536435      31 authentication.go:53] Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]
E1113 09:05:32.537087      31 authentication.go:53] Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]
E1113 09:05:32.637745      31 authentication.go:53] Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]
E1113 09:05:32.791662      31 authentication.go:53] Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]
E1113 09:05:33.538026      31 authentication.go:53] Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]
E1113 09:05:33.538870      31 authentication.go:53] Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]
E1113 09:05:33.793042      31 authentication.go:53] Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]
E1113 09:05:34.539513      31 authentication.go:53] Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]
E1113 09:05:34.540296      31 authentication.go:53] Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]
E1113 09:05:34.668684      31 authentication.go:53] Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]
E1113 09:05:34.794465      31 authentication.go:53] Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]


参考:关于单节点Rancher Server证书过期