kubectl apply -f https://rancher.test.cn/v3/import/xlxwdf6fz6jtgrfcmscs79msn8dkmjbs87p42npgcktjkx2q7shpx5.yaml
Unable to connect to the server: x509: certificate is valid for ingress.local, not rancher.test.cn
未将证书导入cattle-system中
cd /home/rancher/ssl
kubectl -n cattle-system create secret tls tls-rancher-ingress \
--cert=tls.crt \
--key=tls.key
kubectl -n cattle-system create secret generic tls-ca \
--from-file=cacerts.pem
kubectl apply -f https://rancher.test.cn/v3/import/xlxwdf6fz6jtgrfcmscs79msn8dkmjbs87p42npgcktjkx2q7shpx5.yaml
Unable to connect to the server: x509: certificate signed by unknown authority
重启nginx-ingress
Updating local copy of SSL certificate "cattle-system/tls-rancher-ingress-ssl" with missing intermediate CA certs
版权声明:本文为wxb880114原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。