Apache fails to start with "[error] Init: Unable to read pass phrase"
Issue
-
I try to start httpd, but it fails and my ssl_error_log contains the following errors:
[Sun Mar 02 00:00:29 2014] [error] Init: Unable to read pass phrase [Hint: key introduced or changed before restart?] [Sun Mar 02 00:00:29 2014] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag [Sun Mar 02 00:00:29 2014] [error] SSL Library Error: 218640442 error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error [Sun Mar 02 00:00:29 2014] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag [Sun Mar 02 00:00:29 2014] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error [Sun Mar 02 00:00:29 2014] [error] SSL Library Error: 67710980 error:04093004:rsa routines:OLD_RSA_PRIV_DECODE:RSA lib [Sun Mar 02 00:00:29 2014] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag [Sun Mar 02 00:00:29 2014] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error -
Facing following issues after installing the certificates
Failed to configure encrypted (?) private key 10.10.10.10, check /opt/ABC/apache/certificates/abc.xyz.key
Environment
- Red Hat Enterprise Linux (RHEL)
- 6.3
- Apache Web Server (httpd)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
