kube-apiserver Pods crashlooping after update of API server certificates: tls private key does not match public key

Solution Verified - Updated -

Issue

  • kube-apiserver Pods in namespace openshift-kube-apiserver chrashlooping
  • Error in kube-apiserver logs:
$ oc logs -c kube-apiserver kube-apiserver-<Pod Identifier> -n openshift-kube-apiserver

[... output omitted ...]
<Timestamp> Error: failed to load SNI cert and key: tls: private key does not match public key
<Timestamp> I0214 <Time>       1 main.go:198] Termination finished with exit code 1

Environment

  • Red Hat OpenShift Container Platform 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content