TMAegis
More rules for apache

Apache HTTP Server

TMA-APACHE-7.9

Ensure All Web Content is Accessed via HTTPS

MediumLevel 1Manual reviewapache

Description

All of the website content should be served via HTTPS rather than HTTP. A redirect from the HTTP website to the HTTPS content is often useful and is recommended, but all significant content should be accessed via HTTPS so that it is authenticated and encrypted. Manual review: the benchmark gives no reliable automated check for this control.

How it is checked

Audit method: Manual review

This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.

Perform the following to determine if the recommended state is implemented: Gather the list of listening IP addresses from the Apache configuration files. The commands below may be used to extract the relevant IP addresses from the configuration files. The CONF_DIRS variable needs to be set to the list of directories that contain all of the Apache configuration files. ## Replace the following directory list with the appropriate list. CONF_DIRS="/etc/httpd/conf /etc/httpd/conf.d /etc/httpd/conf_dir2 . . .

How it is fixed

Fix method: Guidance or infrastructure patch

Perform the following to implement the recommended state: Move the web content to a TLS enabled website, and add an HTTP Redirect directive to the Apache configuration file to redirect to the TLS enabled website similar to the example shown. Redirect permanent / https://www.cisecurity.org/

Properties

Operating systems
Any
Tags
apachetls
Reference
CIS Apache HTTP Server 2.4 Benchmark v2.4.0 - 7.9 Ensure All Web Content is Accessed via HTTPS