• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Question How to fix : Apache AH00526 Syntax Error ?

onaplioa

New Pleskian
Any suggestions on how to fix this problem? Show this error :

# service apache2 start * Starting web server apache2 * * The apache2 configtest failed. Output of config test was: AH00526: Syntax error on line 51 of /etc/apache2/plesk.conf.d/vhosts/example.com.conf: SSLCertificateFile: file ‘/opt/psa/var/certificates/cert-file-corrupted‘ does not exist or is empty Action ‘configtest’ failed.
 
Remove the SSL certificate from the domain configuration using the "SSL/TLS" icon. In order to remove the certificate it must not be marked "in use". You might need to change the SSL drop down selector in "hosting settings" before and also might need to change the SSL drop down selector in your e-mail configuraton of that domain to not to use the certificate.

After the certificate is removed, the configuration test will work. Restart your web server or reload the configuration, e.g.
# service apache2 reload
Afterwards you can re-create the certificate, e.g. with the "Let's Encrypt" icon.
 
Back
Top