2.2.10 Ensure HTTP server is not enabled

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

HTTP or web servers provide the ability to host web site content. Unless there is a need to run the system as a web server, it is recommended that the service be disabled to reduce the potential attack surface.

Solution

Run the following command to disable apache2: # systemctl disable apache2

See Also

https://workbench.cisecurity.org/files/1865