Symptoms
-
The following warnings is present on the Home page in Plesk:
New configuration files for the Apache web server were not created due to the errors in configuration templates: Syntax error on line 52 of /etc/httpd/conf/plesk.conf.d/webmails/example.com_webmail.conf: SSLCACertificateFile: file '/usr/local/psa/var/certificates/certxxxXXX' does not exist or is empty . Detailed error descriptions were sent to you by email.
-
plesk repair web -y
command fails with the same error. -
Domains show the Default web server page in a browser.
-
Domains > example.com > SSL/TLS certificates shows that CA part of the certificate is missing (pale icon).
Cause
Product issue:
-
#PPPM-11899 "Running the apache2ctl -t or systemctl restart httpd commands after creating a certificate for a domain via the Let’s Encrypt extension and the removing the ‘*-ca.crt’ part no longer breaks Apache configuration."
Fixed in:- Plesk Obsidian 12 May 2020 (Linux)
Resolution
Workaround
If update is not possible for some reason you may try the following
workaround
-
Switch the certificate in Domains > example.com > Mail Settings > SSL/TLS certificate for webmail to None and apply changes.
-
Connect to the server via SSH.
-
Reconfigure all domains:
# plesk repair web -y
-
Upload or issue a new certificate for
example.com
in Domains > example.com > SSL/TLS certificates.