• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff 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