SV-239205r717059_rule
V-239205
SRG-APP-000172-DB-000075
VCPG-67-000013
CAT I
10
At the command prompt, execute the following commands:
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "ALTER SYSTEM SET ssl TO 'on';"
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "SELECT pg_reload_conf();"
At the command prompt, execute the following command:
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "SHOW ssl;"|sed -n 3p|sed -e 's/^[ ]*//'
Expected result:
on
If the output does not match the expected result, this is a finding.
V-239205
False
VCPG-67-000013
At the command prompt, execute the following command:
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "SHOW ssl;"|sed -n 3p|sed -e 's/^[ ]*//'
Expected result:
on
If the output does not match the expected result, this is a finding.
M
5324