- Plesk Onyx for Linux
When activating ModSecurity on Ubuntu 18.04 with Atomic rulesets the following error occurs:
PLESK_ERROR: Failed to install the ModSecurity rule set: modsecurity_ctl failed: gpg: directory '/var/lib/plesk/modsec/.gnupg' created gpg: keybox '/var/lib/plesk/modsec/.gnupg/pubring.kbx' created gpg: /var/lib/plesk/modsec/.gnupg/trustdb.gpg: trustdb created gpg: key FFBD5D0A4520AFA9: public key "Atomicorp (Atomicorp Official Signing Key) <email@example.com>" imported gpg: Total number processed: 1 gpg: imported: 1 gpg: assuming signed data in '/tmp/tmpH_EY3U/aum' gpg: Signature made Mon Jul 23 23:43:44 2018 +07 gpg: using RSA key FFBD5D0A4520AFA9 gpg: Good signature from "Atomicorp (Atomicorp Official Signing Key) <firstname.lastname@example.org>" [unknown] 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. Command '/bin/bash < /tmp/tmpH_EY3U/aum' returned non-zero exit status 1 Unable to download tortix rule set
Atomicorp does not support Ubuntu 18.04 yet. So, Atomic rule sets (both basic and advanced) cannot be enabled in ModSecurity. This is bad error reporting Plesk bug #PPPM-9037.
Until Atomicorp starts supporting Ubuntu 18, it is possible to use Comodo rule set for ModSecurity. For additional information refer
Plesk Administrator's Guide - Web Application Firewall (ModSecurity)