cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Kubectl Error (Certificate Issue)

0 Likes
896

Hi All,

I am running the command - kubectl create namespace test and getting the below response -

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

Before running the above command, I have executed the below set of commands and getting expected outputs.

1) kubectl config get-contexts

2) kubectl version --client

I see a certificate issue and how do we fix this?

All the best

Tanmoy

Accepted Solutions (0)

Answers (1)

Answers (1)

mariusobert
Developer Advocate
Developer Advocate
0 Likes

Hi,

It seems there is a problem with your kubeconfig. I got the same message a couple of times when I wrote this tutorial. I had the feeling that I ran into this issue when I had an incorrect configuration of the tutorial-sa.yaml file and it worked once I fixed it.

0 Likes

ok Marius, Thanks for the reply. Too many things going at the same time. I will update this post once I try it out again.

All the best,

Tanmoy