This message was deleted.
# general
a
This message was deleted.
h
Do you have access to the rancher Web UI? if yes, then have you tried to download again the kubeconfig from there?
b
yes , I have downloaded the kubeconfig from web UI, and client got the error ""Unable to connect to the server: x509: certificate signed by unknown authority""
h
and how did you upgrade the cert for the cluster?
b
I just upgrade the certificate in nginx
This is my architecture diagram
h
is that a self signed cert?
b
yes, it's a self signed cert
h
First create a backup of your kubeconfig file. Just in case. Identify the name of your cluster in your kubeconfig using
kubectl config get-clusters
Then try to set the CA for it using
kubectl config set-cluster <YOUR CLUSTER NAME> --embed-certs --certificate-authority=<YOUR CA FILE PATH HERE>
b
thanks Laszlo, it works on client, but how to update the kubeconfig in web ui ?
h
That's something I don't know right now ... 😞 sorry. I'm more literate with kubernetes than with Rancher ...