Apache: Unable to read server certificate from file

Created:

2016-11-16 12:44:52 UTC

Modified:

2016-12-21 19:07:17 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Apache: Unable to read server certificate from file

Symptoms

Apache fails to start. The following error can be observed in /var/log/httpd/error_log

[Thu Feb 20 01:29:50 2014] [error] Init: Unable to read server certificate from file /usr/local/psa/var/certificates/certcl3mSZ4
[Thu Feb 20 01:29:50 2014] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Thu Feb 20 01:29:50 2014] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error

or similar one error can be found using strace utility:

write(10, "[Wed Nov 23 12:08:50 2016] [error] Unable to configure verify locations for client authentication\

", 98) = 98 write(10, "[Wed Nov 23 12:08:50 2016] [error] SSL Library Error: 151441510 error:0906D066:PEM routines:PEM_read_bio:bad end line\", 118) = 118 write(10, "[Wed Nov 23 12:08:50 2016] [error] SSL Library Error: 185090057 error:0B084009:x509 certificate routines:X509_load_cert_crl_file:PEM lib\", 137) = 137

Cause

Corrupted default certificate.

Resolution

Regenerated new self-signed certificate in Tools & Settings > SSL certificates .
Make it default for Plesk and for websites in Tools & Settings > IP addresses

Have more questions? Submit a request
Please sign in to leave a comment.