Symptoms
- After restoring a Plesk backup, Apache fails to start with the following error message:
# less /var/log/plesk/panel.log
…
AH00526: Syntax error on line 36 of /etc/httpd/conf/plesk.conf.d/vhosts/example.com.conf:
SSLCertificateFile: file ‘/usr/local/psa/var/certificates/certz51O3l’ does not exist or is empty
… - SSLCertificateFile parameter in Apache configuration file
/etc/httpd/conf/plesk.conf.d/vhosts/example.com.conf
points to a non-existing file:# ls -lha /usr/local/psa/var/certificates/certz51O3l
ls: cannot access /usr/local/psa/var/certificates/certz51O3l: No such file or directory
Cause
Product issues:
-
#PPP-39613 “After restoring a number of domains from a backups, SSL/TLS certificates securing these domains are now restored and no issues with the Apache config file occur.”
Fixed in:- Plesk Obsidian 15 January 2019 (Linux)
-
#PPPM-9686 “When restoring a number of domains from a backup, SSL/TLS certificates that secure these domains are now also restored.”
Fixed in:- Plesk Obsidian 18 February 2020 (Linux)
Resolution
Please consider updating your server:
Workaround
If update is not possible for some reason you may try the following
temporary solution
As a workaround:
- Connect into the server via SSH
- Regenerate certificate and Apache configuration files with the following command:
# plesk repair web -y