SV-278381r1171895_rule
V-278381
SRG-APP-000014
NGNX-APP-000040
CAT I
10
Specify the allowed TLS protocols by adding the following line to the server {} block:
ssl_protocols TLSv1.2 TLSv1.3;
Restart NGINX with saved configuration:
nginx -s reload
Determine the path to NGINX config file(s):
nginx -qT | grep "# configuration"
# configuration file /etc/nginx/nginx.conf:
Note: The default NGINX configuration is "/etc/nginx/nginx.conf", though various files may also be included.
Verify "ssl_protocols" are set to TLSv1.2 or higher:
nginx -c <path to nginx config> -qT | grep ssl_protocols
ssl_protocols TLSv1.2 TLSv1.3;
If "ssl_protocols" does not exist or does not specify TLSv1.2 or greater, this is a finding
V-278381
False
NGNX-APP-000040
Determine the path to NGINX config file(s):
nginx -qT | grep "# configuration"
# configuration file /etc/nginx/nginx.conf:
Note: The default NGINX configuration is "/etc/nginx/nginx.conf", though various files may also be included.
Verify "ssl_protocols" are set to TLSv1.2 or higher:
nginx -c <path to nginx config> -qT | grep ssl_protocols
ssl_protocols TLSv1.2 TLSv1.3;
If "ssl_protocols" does not exist or does not specify TLSv1.2 or greater, this is a finding
M
5720