Articles in this section

Unable to activate Atomic Professional ModSecurity ruleset in Plesk: Unable to download tortix rule set

Plesk for Linux kb: technical ABT: Group A

Applicable to:

  • Plesk for Linux

Symptoms

Unable to activate Atomic Professional ModSecurity ruleset:

PLESK_ERROR: Failed to install the ModSecurity rule set: modsecurity_ctl failed: gpg: key 4520AFA9: "Atomicorp (Atomicorp Official Signing Key) support@atomicorp.com " not changed gpg: Total number processed: 1 gpg: unchanged: 1 gpg:

Signature made using RSA key ID 4520AFA9 gpg: Good signature from "Atomicorp (Atomicorp Official Signing Key) support@atomicorp.com " gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 1818 66DF 9DAC A40E 5B42 9B08 FFBD 5D0A 4520 AFA9 TERM environment variable not set.
. . .
Authorization failed attempting to download an update. The username or password may be invalid, or your license may be expired. Please log in to the License Manager at https://www.atomicorp.com/amember/member.php and verify your account. Further information may be found at: https://www.atomicorp.com/wiki/index.php/ASL_FAQ#HTTP_Error_401:_Authorization_Required.
-------------------------------------------------------------------------------
Errors were encountered: L CODE SOURCE MESSAGE
-------------------------------------------------------------------------------
[1;31m3 303 Core::distributed_update Invalid user credentials [0m192.168.0.1 stderr:
Unable to download tortix rule set

Cause 

Additional license key has not been applied due to broken installation of ModSecurity.

Resolution

  1. Login into Plesk.
  2. Navigate to Tools & Settings > Updates and Upgrades > Add/Remove Components.
  3. Reinstall ModSecurity by selecting Remove/Install and clicking Continue.
  4. Connect to the server using SSH.
  5. Move /var/asl/rbc/etc/asl/config/ directory content:

    # mv /var/asl/rbc/etc/asl/config/ ./

  6. Navigate to Tools & Settings > License management > Retrieve.
  7. Activate Atomic Professional ModSecurity in Tools and Settings > Web Application Firewall (ModSecurity).
Was this article helpful?

Comments

1 comment
Date Votes
  • Hi,

    I've got error on Step #5:

    # mv /var/asl/rbc/etc/asl/config/ ./
    mv: overwrite ‘./config’? Y
    mv: cannot overwrite non-directory ‘./config’ with directory ‘/var/asl/rbc/etc/asl/config/’

     

    0

Please sign in to leave a comment.