SV-230252r1184241_rule
V-230252
SRG-OS-000250-GPOS-00093
RHEL-08-010291
CAT I
10
Configure the RHEL 8 SSH server to use only ciphers employing FIPS 140-3-approved algorithms.
Reinstall crypto-policies with the following command:
$ sudo dnf -y reinstall crypto-policies
Set the crypto-policy to FIPS with the following command:
$ sudo update-crypto-policies --set FIPS
Setting system policy to FIPS
Note: Systemwide crypto policies are applied on application startup. It is recommended to restart the system for the change of policies to fully take place.
Verify the RHEL 8 SSH server is configured to use only ciphers employing FIPS 140-3-approved algorithms.
To verify the ciphers in the systemwide SSH configuration file, use the following command:
$ sudo grep -i Ciphers /etc/crypto-policies/back-ends/opensshserver.config
CRYPTO_POLICY='-oCiphers=aes256-gcm@openssh.com,aes256-ctr,aes128-gcm@openssh.com,aes128-ctr
If the cipher entries in the "opensshserver.config" file have any ciphers other than "aes256-gcm@openssh.com,aes256-ctr,aes128-gcm@openssh.com,aes128-ctr", or they are missing or commented out, this is a finding.
V-230252
False
RHEL-08-010291
Verify the RHEL 8 SSH server is configured to use only ciphers employing FIPS 140-3-approved algorithms.
To verify the ciphers in the systemwide SSH configuration file, use the following command:
$ sudo grep -i Ciphers /etc/crypto-policies/back-ends/opensshserver.config
CRYPTO_POLICY='-oCiphers=aes256-gcm@openssh.com,aes256-ctr,aes128-gcm@openssh.com,aes128-ctr
If the cipher entries in the "opensshserver.config" file have any ciphers other than "aes256-gcm@openssh.com,aes256-ctr,aes128-gcm@openssh.com,aes128-ctr", or they are missing or commented out, this is a finding.
M
2921