• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

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