kube-apiserver complains about remote error bad certificate

9/15/2015

I reinstalled some nodes and a master. Now on the master I am getting:

Sep 15 04:53:58 master kube-apiserver[803]: I0915 04:53:58.413581 803 logs.go:41] http: TLS handshake error from $ip:54337: remote error: bad certificate

Where $ip is one of the nodes.

So I likely need to delete or recreate certificates. What would the location of those be? Any recommended commands to recreate or remove those or copy them from node to master or vice versa? Whatever gets me past this error message...

-- retep
kubernetes

1 Answer

9/15/2015

Take a look through the Creating Certificates section of authentication.md. It walks you through the certificates that you need to create and how to pass them to the system components, and you should be able to use that to re-generate certificates for your cluster.

-- Robert Bailey
Source: StackOverflow