Oto Tortorella
Basic Pleskian
This morning the update of ASL basic rules failed, I get an error message in the Home screen of plesk.
I uninstalled mod_security using the graphical installer and then reinstalled it.
Now I get an error when enabling Atomic Basic ModSecurity, I don't get any error when enabling OWASP ModSecurity. Here is my error message when enabling Atomic Basic ModSecurity rules:
When using 'aum -u' on the CLI i get:
Currently there is no file in /etc/httpd/conf/modsecu rity.d/rules/tortix/modsec that maches '*asl*.conf'
I cannot understand if it is an update problem tied to a wrong key or something else.
The key in /etc/pki/rpm-gpg/RPM-GPG-KEY.atomicorp.txt seems correct and maches the one on https://www.atomicorp.com/RPM-GPG-KEY.atomicorp.txt
Please advise if you have any idea.
Regards
Oto Tortorella teletype.it
I uninstalled mod_security using the graphical installer and then reinstalled it.
Now I get an error when enabling Atomic Basic ModSecurity, I don't get any error when enabling OWASP ModSecurity. Here is my error message when enabling Atomic Basic ModSecurity rules:
Code:
Errore nell'installazione del set di regole di ModSecurity: 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 Mon Dec 7 21:41:31 2015 CET using RSA key ID 4520AFA9 gpg: Good signature from "Atomicorp (Atomicorp Official Signing Key) <[email protected]>" 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 ... ASL version is current: [75G[[1;31m[1;32mPASS[0m[0m] Updating Web Application Firewall to 201512071312: updated[75G[[1;31m[1;32mPASS[0m[0m] ------------------------------------------------------------------------------- Errors were encountered: L CODE SOURCE MESSAGE - ---- ----------------------------- ------------------------------------------ [0;33m2 2 c_modsec::apply_rules An error occurred attempting to read file /var/asl/data/waf_groups [0m[0;33m2 9901 ASLCommon::cmd_system ERROR: '/usr/sbin/apachectl -t >/dev/null 2>&1 (1)' [0m[0;33m2 9901 ASLCommon::cmd_exec ERROR: '(1) /usr/sbin/apachectl -t 2>&1 -- [Tue Dec 08 11:59:57.141784 2015] [so:war n] [pid 9688:tid 140403470714944] AH01574: module unique_id_module is already loaded , skipping||httpd: Syntax error on line 37 8 of /etc/httpd/conf/httpd.conf: Syntax er ror on line 12 of /etc/httpd/conf.d/00_mod _security.conf: No matches for the wildcar d '*asl*.conf' in '/etc/httpd/conf/modsecu rity.d/rules/tortix/modsec', failing (use IncludeOptional if required)' [0m[0;33m2 601 c_modsec::apply_rules There is a problem with the apache config: [Tue Dec 08 11:59:57.141784 2015] [so:war n] [pid 9688:tid 140403470714944] AH01574: module unique_id_module is already loaded , skipping; httpd: Syntax error on line 37 8 of /etc/httpd/conf/httpd.conf: Syntax er ror on line 12 of /etc/httpd/conf.d/00_mod _security.conf: No matches for the wildcar d '*asl*.conf' in '/etc/httpd/conf/modsecu rity.d/rules/tortix/modsec', failing (use IncludeOptional if required) [0m[0;33m2 601 c_modsec::apply_rules There is a problem with the apache config: Rolling back to the previous update [0m[0;33m2 9901 ASLCommon::cmd_system ERROR: '/bin/cp -af /var/asl/tmp/waf_rules /* /etc/httpd/conf/modsecurity.d/rules/tor tix/modsec>/dev/null 2>&1 (1)' [0m[1;31m3 600 c_modsec::apply_rules Errors occurred with Apache [0m5.135.236.36 stderr: Unable to download tortix rule set
When using 'aum -u' on the CLI i get:
Checking versions ...
Updating asl components
(this may take several minutes)
Updating ASL Core: successful [PASS]
Updating Web Application Firewall to 201512071312: updated [PASS]
-------------------------------------------------------------------------------
Errors were encountered:
L CODE SOURCE MESSAGE
- ---- ----------------------------- ------------------------------------------
2 2 c_modsec::apply_rules An error occurred attempting to read file
/var/asl/data/waf_groups
2 9901 ASLCommon::cmd_system ERROR: '/usr/sbin/apachectl -t >/dev/null
2>&1 (1)'
2 9901 ASLCommon::cmd_exec ERROR: '(1) /usr/sbin/apachectl -t 2>&1 --
[Tue Dec 08 13:10:46.964887 2015] [so:war
n] [pid 31916:tid 140019657013312] AH01574
: module unique_id_module is already loade
d, skipping||httpd: Syntax error on line 3
78 of /etc/httpd/conf/httpd.conf: Syntax e
rror on line 12 of /etc/httpd/conf.d/00_mo
d_security.conf: No matches for the wildca
rd '*asl*.conf' in '/etc/httpd/conf/modsec
urity.d/rules/tortix/modsec', failing (use
IncludeOptional if required)'
2 601 c_modsec::apply_rules There is a problem with the apache config:
[Tue Dec 08 13:10:46.964887 2015] [so:war
n] [pid 31916:tid 140019657013312] AH01574
: module unique_id_module is already loade
d, skipping; httpd: Syntax error on line 3
78 of /etc/httpd/conf/httpd.conf: Syntax e
rror on line 12 of /etc/httpd/conf.d/00_mo
d_security.conf: No matches for the wildca
rd '*asl*.conf' in '/etc/httpd/conf/modsec
urity.d/rules/tortix/modsec', failing (use
IncludeOptional if required)
2 601 c_modsec::apply_rules There is a problem with the apache config:
Rolling back to the previous update
2 9901 ASLCommon::cmd_system ERROR: '/bin/cp -af /var/asl/tmp/waf_rules
/* /etc/httpd/conf/modsecurity.d/rules/tor
tix/modsec>/dev/null 2>&1 (1)'
3 600 c_modsec::apply_rules Errors occurred with Apache
Currently there is no file in /etc/httpd/conf/modsecu rity.d/rules/tortix/modsec that maches '*asl*.conf'
I cannot understand if it is an update problem tied to a wrong key or something else.
The key in /etc/pki/rpm-gpg/RPM-GPG-KEY.atomicorp.txt seems correct and maches the one on https://www.atomicorp.com/RPM-GPG-KEY.atomicorp.txt
Please advise if you have any idea.
Regards
Oto Tortorella teletype.it