• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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