• 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Failed to install the ModSecurity rule set

Pascal_Netenvie

Regular Pleskian
Hi,
Since some Plesk update system can't no more update ModSecurity rules.
Error is :
Failed to install the ModSecurity rule set: modsecurity_ctl failed: HTTP Error 403: Forbidden Unable to download tortix rule set.

I already tried to look at this Kb : Unable to activate/update/download rules from Atomic Professional ModSecurity ruleset
But there is no additionnal licence.
I also tried to uninstall, reboot then reinstall Modsecurity.

For now nothing solved the problem.
How can i fix that ?

Plesk 12.5 under Debian 7.11‬

Cheers.
 
Hi Pascal_Netenvie,

did you consider to DE- and RE-INSTALL the Plesk ModSecurity component?

Example command from the command line ( logged in as user "root" over SSH ):
Code:
plesk installer --select-product-id plesk --select-release-current --remove-component modsecurity
plesk installer --select-product-id plesk --select-release-current --install-component modsecurity
 
Hi Pascal_Netenvie,

even BETTER, than my suggestion, but as you can see, the DE - installation part for the Plesk COntrol Panel is included there as well:

Code:
2. Remove ModSecurity using Plesk installer

Pls. consider to repeat ALL steps from the mentioned KB - article and make sure, that you don't have any leftovers. You are able to check this for example with a "mlocate" - command:
Code:
   locate asl

or/and

   locate modsecurity
   locate mod_security
( Pls. note, that you might have to install the software package "mlocate", which has a database which should be updated regulary with the command "updatedb" in order to have all files and folders being included in the "mlocate" - database. ;) )
 
Hi,
Didn't redone the process yet but i had the same message on 2 other servers were the license was in grace period.
So i think the problem comme from licensing.
Sometimes the Plesk license don't renew correctly because of connection problems so i renew it manually by clicking on retrieve button.
If Modsecurity try to update before license is up to date it seems that it create this problem.
So i'm not sure reinstall again will solve this ... no ?
 
Hello,
Now the problem is also on 12.0 Plesk servers with that error :
Code:
Error: Failed to update the ModSecurity rule set: modsecurity_ctl failed: gpg: key 4520AFA9: "Atomicorp (Atomicorp Official Signing Key) <[email protected]>" not changed gpg: Total number processed: 1 gpg: unchanged: 1 gpg: Signature made Wed May 24 13:53:47 2017 CEST using RSA key ID 4520AFA9 gpg: BAD signature from "Atomicorp (Atomicorp Official Signing Key) <[email protected]>" Command '['gpg', '--homedir', '/var/lib/plesk/modsec/.gnupg', '--verify', '/tmp/tmpyLxtNs/aum-plesk-installer.asc']' returned non-zero exit status 1 Unable to download tortix rule set
 
Back
Top