SV-259177r935435_rule
V-259177
SRG-APP-000176-DB-000068
VCPG-80-000041
CAT I
10
At the command prompt, enter the following commands:
# chmod 600 /storage/db/vpostgres_ssl/server.key
# chown vpostgres:vpgmongrp /storage/db/vpostgres_ssl/server.key
At the command prompt, run the following command:
# stat -c "%n is owned by %U:%G with permissions of %a" /storage/db/vpostgres_ssl/server.key
Example output:
/storage/db/vpostgres_ssl/server.key is owned by vpostgres:vpgmongrp with permissions of 600
If the SSL key file is not owned by the user vpostgres and group vpgmongrp, this is a finding.
If the SSL key file has permissions more permissive than 0600, this is a finding.
V-259177
False
VCPG-80-000041
At the command prompt, run the following command:
# stat -c "%n is owned by %U:%G with permissions of %a" /storage/db/vpostgres_ssl/server.key
Example output:
/storage/db/vpostgres_ssl/server.key is owned by vpostgres:vpgmongrp with permissions of 600
If the SSL key file is not owned by the user vpostgres and group vpgmongrp, this is a finding.
If the SSL key file has permissions more permissive than 0600, this is a finding.
M
5570