Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Failed to update the ModSecurity rule set:  (Read 3438 times)

0 Members and 1 Guest are viewing this topic.

vichithrakumart

  • Guest
Failed to update the ModSecurity rule set:
« on: March 31, 2018, 11:26:52 am »
This fix is Applicable to Plesk Onyx for Linux and Plesk 12.5 for Linux

Symptoms:

The following error can be found in the Plesk Home page after the failed ModSecurity update:

Code: [Select]
Error: Failed to update the ModSecurity rule set. Details
In the menu Tools & Settings > Web Application Firewall (ModSecurity) the following error can be found:

Code: [Select]
Error: Failed to update 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 Thu Mar 15 01:24:49 2018 +07 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.
aum failed with exitcode 3.
stdout:


Checking versions ...

AUM version is current: package asl is not installed[PASS]

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
[0m127.0.0.1
127.0.0.1
203.0.113.2


stderr:
Unable to download tortix rule set

While trying to login to Atomicorp account using credentials from the /etc/asl/config file, the error as the following can be seen:

Code: [Select]
The user name or password is incorrect
Resolution

1. Connect to the server using SSH.

2. Update ModSecurity rule set manually:

Code: [Select]
# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f UpdateModSecurityRuleSet