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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In