• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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