Hi team, I am run into this error, could you please give some suggestion? thanks so much in advanced
E0605 182434.026627 6593 memcache.go:238] couldn’t get current server API group list: Get “https://cnsthana247.pek.sap.corp/k8s/clusters/local/api?timeout=32s”: x509: certificate is valid for ingress.local, not cnsthana247.pek.sap.corp
E0605 182434.148495 6593 memcache.go:238] couldn’t get current server API group list: Get “https://cnsthana247.pek.sap.corp/k8s/clusters/local/api?timeout=32s”: x509: certificate is valid for ingress.local, not cnsthana247.pek.sap.corp
E0605 182434.267495 6593 memcache.go:238] couldn’t get current server API group list: Get “https://cnsthana247.pek.sap.corp/k8s/clusters/local/api?timeout=32s”: x509: certificate is valid for ingress.local, not cnsthana247.pek.sap.corp
E0605 182434.383349 6593 memcache.go:238] couldn’t get current server API group list: Get “https://cnsthana247.pek.sap.corp/k8s/clusters/local/api?timeout=32s”: x509: certificate is valid for ingress.local, not cnsthana247.pek.sap.corp
E0605 182434.499951 6593 memcache.go:238] couldn’t get current server API group list: Get “https://cnsthana247.pek.sap.corp/k8s/clusters/local/api?timeout=32s”: x509: certificate is valid for ingress.local, not cnsthana247.pek.sap.corp
Unable to connect to the server: x509: certificate is valid for ingress.local, not cnsthana247.pek.sap.corp
c
creamy-pencil-82913
06/05/2024, 3:09 PM
It looks like you havent properly configured the certificate on your Rancher installation. It is using the default self-signed ingress certificate, which is not valid for the hostname you configured rancher to use. Check the rancher docs and set up your certificate properly.