AlmaLinux OS 9 must have the crypto-policies package installed.

STIG ID: ALMA-09-039840  |  SRG: SRG-OS-000394-GPOS-00174 |  Severity: medium |  CCI: CCI-003123,CCI-002890 |  Vulnerability Id: V-269417

Vulnerability Discussion

Centralized cryptographic policies simplify applying secure ciphers across an operating system and the applications that run on that operating system. Use of weak or untested encryption algorithms undermines the purposes of using encryption to protect data.

Satisfies: SRG-OS-000394-GPOS-00174, SRG-OS-000393-GPOS-00173

Check

Verify that the AlmaLinux OS 9 crypto-policies package is installed with the following command:

$ dnf list --installed crypto-policies

Installed Packages
crypto-policies.noarch 20221215-1.git9a18988.el9 @anaconda

If the "crypto-policies" package is not installed, this is a finding.

Fix

Install the crypto-policies package with the following command:

$ dnf install crypto-policies