SV-269113r1184081_rule
V-269113
SRG-OS-000250-GPOS-00093
ALMA-09-002990
CAT I
10
Configure the AlmaLinux OS 9 SSH client 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
Verify the SSH client is configured to use only ciphers employing FIPS 140-3-approved algorithms with the following command:
$ grep -i Ciphers /etc/crypto-policies/back-ends/openssh.config
Ciphers aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes128-ctr
If the cipher entries in the "openssh.config" file have any ciphers other than "aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes128-ctr", they are missing, or commented out, this is a finding.
V-269113
False
ALMA-09-002990
Verify the SSH client is configured to use only ciphers employing FIPS 140-3-approved algorithms with the following command:
$ grep -i Ciphers /etc/crypto-policies/back-ends/openssh.config
Ciphers aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes128-ctr
If the cipher entries in the "openssh.config" file have any ciphers other than "aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes128-ctr", they are missing, or commented out, this is a finding.
M
5664