OpenShift Cluster deploy failed with error: "error loading certificate/key: tls: failed to parse private key"

Solution Verified - Updated -

Issue

  • OpenShift Cluster deployment fails when using custom certificates:
 servingInfo.namedCertificates[0].certInfo: Invalid value: config.CertInfo{CertFile:"/etc/origin/master/named_certificates/example.cer", KeyFile:"/etc/origin/master/named_certificates/example.key"}: error loading certificate/key: tls: failed to parse private key

Environment

  • OpenShift Container Platform 3.11

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