Failed to load SNI cert and key tls - Cluster API server unavailable after API certificate update

Solution Verified - Updated -

Issue

  • Authentication pod stuck and incomplete.
  • What causes the error failed to load SNI cert and key: tls: found a certificate rather than a key in the PEM for the private key after API certificate update.
  • After updating the API and Ingress certificates, the API and Console became unavailable.
  • OpenShift oAuth API server cannot connect to etcd.

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4.10+

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