• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved Let's Encrypt - how can I get rid of old plesk error?

Sascha Herrmann

New Pleskian
During the summer, my Let's Encrypt extension failed to update the certificate.
After some un- and reinstalling of that extension everything was back up running. Certificates are now updated as expected. Various Plesk commands (like plesk repair web) show that everything is fine.

But when I start plesk web I still see the error message from back then:

AH00526: Syntax error on line 117 of /etc/apache2/plesk.conf.d/server.conf: SSLCertificateFile: file '/opt/psa/var/certificates/cert-Ozomoy' does not exist or is empty

And true, that file no longer exists. But it's also not mentioned in server.conf (and hasn't been for some months).

And ModSecurity also reports AH00526 as reason for not updating.

How do I get rid of these stale error messages?

Thanks,

Sascha
 
Issue a repair all

find /etc/apache2/plesk.conf.d -name \*.conf -exec grep -il cert-Ozomoy {} \;
 
Hi!

Thanks for the reply. I did the repair and everything works fine again. Not sure I understand how the Let's Encrypt extension handles certificates. The old cert-Ozomoy is back after the repair but not used. But ... as long as everything works fine and the annoying errors are gone ... fine.

Thanks again.

Sascha
 
Back
Top