SV-214230r1210990_rule
V-214230
SRG-APP-000014-WSR-000006
AS24-U1-000030
CAT II
10
# cat /etc/httpd/conf.d/ssl.conf | grep "SSLProtocol"
Ensure the "SSLProtocol" is added to the ssl.conf file and looks like the following:
SSLProtocol -SSLv2 -SSLv3 -TLSv1 +TLSv1.2 +TLSv1.3
Restart Apache: apachectl restart
Verify the "ssl module" module is loaded:
# httpd -M | grep -i ssl_module
Output: ssl_module (shared)
If the "ssl_module" is not found, this is a finding.
Determine the location of the "HTTPD_ROOT" directory and the "httpd.conf" file:
# apachectl -V | egrep -i 'httpd_root|server_config_file'
-D HTTPD_ROOT="/etc/httpd"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
Note: The apachectl front end is the preferred method for locating the Apache httpd file. For some Linux distributions, "apache2ctl -V" or "httpd -V" can also be used.
Search for the directive "SSLProtocol" in the "httpd.conf" file:
# cat /<path_to_file>/httpd.conf | grep -i "SSLProtocol"
If the "SSLProtocol" directive is missing or does not look like the following, this is a finding:
SSLProtocol -SSLv2 -SSLv3 -TLSv1 +TLSv1.2 +TLSv1.3
If the directive does not exist, or exists but does not contain "-SSLv2 -SSLv3 -TLSv1 +TLSv1.2 +TLSv1.3", this is a finding.
V-214230
False
AS24-U1-000030
Verify the "ssl module" module is loaded:
# httpd -M | grep -i ssl_module
Output: ssl_module (shared)
If the "ssl_module" is not found, this is a finding.
Determine the location of the "HTTPD_ROOT" directory and the "httpd.conf" file:
# apachectl -V | egrep -i 'httpd_root|server_config_file'
-D HTTPD_ROOT="/etc/httpd"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
Note: The apachectl front end is the preferred method for locating the Apache httpd file. For some Linux distributions, "apache2ctl -V" or "httpd -V" can also be used.
Search for the directive "SSLProtocol" in the "httpd.conf" file:
# cat /<path_to_file>/httpd.conf | grep -i "SSLProtocol"
If the "SSLProtocol" directive is missing or does not look like the following, this is a finding:
SSLProtocol -SSLv2 -SSLv3 -TLSv1 +TLSv1.2 +TLSv1.3
If the directive does not exist, or exists but does not contain "-SSLv2 -SSLv3 -TLSv1 +TLSv1.2 +TLSv1.3", this is a finding.
M
3996