kubectl - unathorized - cannot connect to server
Just deployed a AKS , cluster in the EAST US region, and am trying to kubectl to get cluster information. But i am getting Unable to connect to the server: x509: certificate signed by unknown authority
i ran the az aks get-credentials command again to see if it was a an issue but am getting the same result.
I am getting this error on new clusters created in East US. I have existing clusters that seem ok.
I ran into the same issue after a while. My cluster is deployed in CENTRAL US .
Unable to connect to the server: x509: certificate signed by unknown authority
az aks get-credentials did not help either.
Got the same problem. Just trying to follow the walkthrough here https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough
I successfully deploy the cluster but cant do anything after that. Always getting the "Unable to connect to the server: x509: certificate signed by unknown authority"
Same error:
Unable to connect to the server: x509: certificate has expired or is not yet valid
Encountered this issue today. I debugged the certificates with openssl and concluded that ca was simply invalid. Recreated the cluster and after that az aks get-credentials returned valid credentials (and certs). Please fix this.
Believe this has been fixed; please reopen if still an issue.
@seanknox can you please share the root cause of this if it has been fixed?
I just created an AKS cluster following the instructions here: https://docs.microsoft.com/en-us/azure/aks/tutorial-kubernetes-deploy-cluster and I'm seeing the same issue.
Unable to connect to the server: x509: certificate signed by unknown authority
This is happening again, East US. Going to try another region.
East US same issue here: x509: certificate signed by unknown authority