Issue
ModSecurity ruleset can't be updated on server with Plesk and Imunify360 due to the following error:
WARNING: (1, ['/usr/local/psa/bin/server_pref', '--update-web-app-firewall', '-waf-rule-engine', 'on'], b'',
b'The security core features (ModSecurity and Fail2Ban) are not available due to license restrictions.\n\n')
At the same time, the license for the Plesk panel is correct and allows security features.
Environment
- Imunify360
- ModSecurity
- Plesk
- Any OS
Solution
The configuration file /usr/local/psa/admin/conf/panel.ini should be reviewed to determine if ModSecurity is disabled there.
[modSecurity]
enabled = false
After making changes to the file, the panel needs to be restarted.
service sw-engine restart
Useful links
Comments
0 comments
Please sign in to leave a comment.