Forum Navigation
You need to log in to create posts and topics.

Error: certificate signed by unknown authority


User gets the following error when running any kubectl command

Unable to connect to the server: x509: certificate signed by unknown authority (possibly because of “crypto/rsa: verification error” while trying to verify candidate authority certificate “kubernetes”)


This issue occurred due to certificate change probably you ran again kubeamd reset.

delete config file from your home directory and copy

rm -rf $HOME/.kube
mkdir -p $HOME/.kube
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube/config



If you have found my website, guides, articles or videos useful, please buy me a coffee