https://rancher.com/ logo
Title
d

dry-vr-36164

03/17/2023, 6:46 PM
Hi All, When using kubeconfig from rancher for EKS, I am getting below error:
Unable to connect to the server: x509: certificate signed by unknown authority
The kubeconfig is of the cluster where rancher is installed
local cluster
h

high-author-9583

03/17/2023, 9:01 PM
Either you didn't configured ssl certificate or you are using wrong public key in your kubconfug file.
l

little-microphone-8930

03/18/2023, 4:57 AM
I get similar message due to secret removal. Try to create secret and apply certificate if it's missing and you will have rancher back to business.
d

dry-vr-36164

03/19/2023, 11:34 AM
I was able to fix it byadding ssl-redirect annotation in rancher ingress as I was using aws acm cert and not the rancher generated one.