Why does Httpd fail with "[error] Init: Unable to read server certificate from file" after installing SSL certificate?
Issue
- After installing SSL certificate on HTTP server, unable to start httpd.
- The certificate was P7c formatted, hence it has been converted in to PEM format.
-
After installing the cert, httpd fails with the following error messages in log files.
[Mon Feb 14 15:50:19 2011] [error] Init: Unable to read server certificate from file /etc/pki/tls/certs/s-infso-lobal_infso_cec_eu_int.p7c [Mon Feb 14 15:50:19 2011] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag [Mon Feb 14 15:50:19 2011] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error [Mon Feb 14 15:50:19 2011] [error] SSL Library Error: 218640442 error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error
Environment
- Red Hat Enterprise Linux (RHEL) 5 and 6
- 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.
