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")
- Reset the node
kubeadm reset
2. Delete the config file
rm -rf $HOME/.kube/config
3. Re-join the node
# Run this on Masterkubeadm token create --print-join-command# Copy the output of the above command on worker node
#To See current tokens and sha:kubeadm token listopenssl x509 -pubkey -in /etc/kubernetes/pki/ca.crt | openssl rsa -pubin -outform der 2> /dev/null | openssl dgst -sha256 -hex | sed 's/^.* //'