Apache HTTPD fails to start because "AH02203: Init: Private key not found"

Solution Verified - Updated -

Issue

Apache HTTPD fails to start with the following errors:

[Wed Aug 23 09:43:19.728055 2017] [ssl:error] [pid 7578] AH02203: Init: Private key not found
[Wed Aug 23 09:43:19.728070 2017] [ssl:error] [pid 7578] SSL Library Error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Wed Aug 23 09:43:19.728076 2017] [ssl:error] [pid 7578] SSL Library Error: error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error
[Wed Aug 23 09:43:19.728081 2017] [ssl:error] [pid 7578] SSL Library Error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Wed Aug 23 09:43:19.728086 2017] [ssl:error] [pid 7578] SSL Library Error: error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error (Type=RSA)
[Wed Aug 23 09:43:19.728090 2017] [ssl:error] [pid 7578] SSL Library Error: error:04093004:rsa routines:OLD_RSA_PRIV_DECODE:RSA lib
[Wed Aug 23 09:43:19.728094 2017] [ssl:error] [pid 7578] SSL Library Error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Wed Aug 23 09:43:19.728099 2017] [ssl:error] [pid 7578] SSL Library Error: error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error (Type=PKCS8_PRIV_KEY_INFO)

Environment

  • Red Hat Enterprise Linux 7.x
  • httpd 2.4
  • Red Hat JBoss Web Server 3.x
  • Red Hat Software Collections Apache HTTPD 2.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