Update of Plesk default certificate crashes Apache configuration: SSLCertificateFile does not exist or is empty

Created:

2017-04-27 13:59:37 UTC

Modified:

2017-08-08 13:28:43 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Update of Plesk default certificate crashes Apache configuration: SSLCertificateFile does not exist or is empty

Symptoms

Updating the Plesk default certificate causes Apache misconfiguration because configuration files still contain information about outdated certificate files that no longer exist in /opt/psa/var/certificates/:

# apache2ctl -t
AH00526: Syntax error on line 109 of /etc/apache2/plesk.conf.d/server.conf:
SSLCertificateFile: file '/opt/psa/var/certificates/cert-QWssIy' does not exist or is empty
Action '-t' failed.

Cause

This is an internal issue with ID #PPPM-6136 (Updating certificate file causes webserver crash), which is planned to be fixed in future product updates.

Resolution

As a workaround, reconfigure Apache:

# /usr/local/psa/admin/bin/httpdmng --reconfigure-all
Have more questions? Submit a request
Please sign in to leave a comment.