Cannot generate Apache web server configuration file for domain, the following error displays:
Template_Exception: Syntax error on line 53 of /etc/httpd/conf/plesk.conf.d/vhosts/example.com.conf: SSLCertificateFile: file '/usr/local/psa/var/certificates/cert-FtfAdT' does not exist or is empty file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 68 code: 0
SSL certificate of domain was updated, but web server configuration file remained unchanged. The behavior is caused by software issue #PPA-1042. The fix is included in MU #6.
Update PA installation to latest version:
Restore certificate file with correct name, content, path on according Apache service node. The required SSL certificate should be stored in
# grep -ir certificate /etc/httpd/conf/plesk.conf.d/ip_default/domain.tld.conf SSLCertificateFile /usr/local/psa/var/certificates/cert-qgkJ3T SSLCACertificateFile /usr/local/psa/var/certificates/cert-xYC0qZ
The required actions can be performed automatically using Parallels Plesk Automation (PPA). Follow the next steps:
Log in Plesk Automation (PA) Provider Panel. Go to Top > Services > Websites > required website > Open in Control Panel.
In Customer Control Panel choose in Webspaces required webspace and then go to Websites > Hosting Settings > Security > uncheck the option 'SSL support' and click 'Submit' button.
Open Hosting Setting of the required webspace and enable SSL support back. In this case SSL certificate files will be regenerated according to values stored in Plesk Automation (PA) database.
Log in to Apache service node where required webspace has been stored. If you do not know on which web service node the following webspace was stored use this article.
Reload Apache service configuration files:
[root@ppa ~]# httpd -S ..... Syntax OK [root@ppa ~]# service httpd reload Reloading httpd: [ OK ]