kelseyhightower / intro-to-kubernetes-workshop

Intro to Kubernetes Workshop
1.02k stars 348 forks source link

x509 certifcate error #13

Open stvnwrgs opened 8 years ago

stvnwrgs commented 8 years ago

Hey,

i always get the same issue when i try to setup my kubectl.

error: couldn't read version from server: Get https://146.148.119.50:6443/api: x509: certificate is valid for 10.240.0.2, 10.200.100.1, not 146.148.119.50

I thought that the following stuff is might be missing in admin.csr

"CN": "*.c.PROJECT_ID.internal",
  "hosts": [
    "127.0.0.1",
    "EXTERNAL_IP",
    "*.c.PROJECT_ID.internal"
  ],

but generating new certs with my EXTERNAL_IP and PROJECT_ID did not fixed the problem. Any suggestions?

peterbourgon commented 8 years ago

I also have this problem.