Kubernetes Azure.. Unable to connect to the server: x509: certificate signed by unknown authority

8/13/2018

When I am in the office, I can connect to my Kubernetes cluster that is on my Azure account without an issue.

At home, on my home network or connected to my corporate VPN, all worked until a couple days ago. All of a sudden, I'd get either:

Unable to connect to the server: x509: certificate signed by unknown authority (mostly) or Unable to connect to the server: net/http: TLS handshake timeout

On every KUBECTL command (kubectl get pod for example)

Is there any reason why this would happen and depend on the network I'm connected to? With VPN, I have access to the same resources.

I'm using a Windows 10 machine and I'm using powershell to connect to the cluster.

-- Anthony C
azure
kubernetes

0 Answers