Control Panel

Plesk Failed To Install The ModSecurity

Is your Plesk failed to install the ModSecurity and throw a Failed to install the ModSecurity rule set: modsecurity_ctl failed: ERROR:root:Error comodo?

This article will help you to resolve the issue.

This error occurs because of the Sectigo CA Certificate Expiry. To resolve the issue we may need to remove Sectigo root certificate from the system trust store. In CentOS 7.4 or later releases, use trust command for explicitly  disabling the CA certificate.

Follow these steps:

1. Figure out the expired CA certificate using following command:

# trust list

2. Create a blacklist file:

# trust dump –filter “pkcs11:id=%AD%BD%98%7A%34%B4%26%F7%FA%C4%26%54%EF%03%BD%E0%24%CB%54%1A;type=cert” > /etc/pki/ca-trust/source/blacklist/addtrust-external-root.p11-kit

3. Update the system trust store:

# update-ca-trust

4. Now verify that the CA is not listed any more as trusted using following command:

# trust list

That’s it. Now try to install ModSecurity again.

We have successfully resolve Plesk failed to install the ModSecurity issue.

Related Articles