- Plesk 12.5 for Linux
- Plesk 12.0 for Linux
- Plesk Onyx for Linux
Unable to activate/reinstall ModSecurity component or enable "tortix"
Error: Failed to update the ModSecurity rule set: modsecurity_ctl failed:
gpg: key 4520AFA9: "Atomicorp (Atomicorp Official Signing Key) <firstname.lastname@example.org>" not changed gpg: Total number processed: 1 gpg: unchanged: 1 gpg: Signature made Thu Nov 5 10:06:20 2015 EST using RSA key ID 1111AAAA gpg: Good signature from "Atomicorp (Atomicorp Official Signing Key) <email@example.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: XXXX TERM environment variable not set. aum failed with exitcode
stdout: Checking versions ... ASL version is current:[75G[[1;31m[1;32mPASS[0m[0m] 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.
Syntax error on line 39 of /etc/apache2/modsecurity.d/rules/tortix/modsec/98_asl_scanner.conf:
Invalid command 'SecTmpSaveUploadedFiles', perhaps misspelled or defined by a module not included in the server configuration
apache2.service: control process exited, code=exited status=1
Failed to start The Apache Webserver.
Also, if verify license at https://www.atomicorp.com/amember/member.php the following error is shown:
"Active Licenses: You have no active licenses".
However, Tools & Settings > License Management > Additional License Keys contains paid license "Security Core for VPS with Complete Atomicorp ModSecurity Rules (Security Pack)"
Corrupted installation of
package. As a result, the license was not uploaded to the Atomicorp website.
Back up the content of the following directories and remove them:
Remove ModSecurity component using Plesk installer.
aumpackage was removed. If not, remove it manually:
# rpm -e --nodeps aum-4.0.19-37.el7.art.x86_64
Make sure that ModSecurity license is updated in Tools & Settings > License Management > Additional Licenses > Retrieve
Install ModSecurity using Plesk installer.
Enable Atomic Professional ModSecurity ruleset under Tools & Settings > Web Application Firewall (ModSecurity)
- Login and password specified in
/etc/asl/license.keymust match each other, for example:
# egrep "^USERNAME|^PASSWORD" /etc/asl/config
# cat /etc/asl/license.key | base64 -d
Make sure that "tortix" rules appeared in
/etc/httpd/conf/modsecurity.d/rules/directory. If not, update the ruleset:
# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php –f UpdateModSecurityRuleSet