AlmaLinux OS 9 IP tunnels must use FIPS 140-3 approved cryptographic algorithms.
Overview
Finding ID | Version | Rule ID | IA Controls | Severity |
V-269122 | ALMA-09-003870 | SV-269122r1050004_rule | Medium |
Description |
Overriding the system crypto policy makes the behavior of the Libreswan service violate expectations and makes the system configuration more fragmented. |
STIG | Date |
CloudLinux AlmaLinux OS 9 Security Technical Implementation Guide | 2025-05-22 |
Details
Check Text (C-73153r1047742_chk) |
Note: If the Libreswan package is not installed, this requirement is Not Applicable. Verify that the IPsec service uses the system crypto policy with the following command: $ grep -rE '^include ' /etc/ipsec.conf /etc/ipsec.d/ /etc/ipsec.conf:include /etc/crypto-policies/back-ends/libreswan.config /etc/ipsec.conf:include /etc/ipsec.d/*.conf If the IPsec configuration file does not contain "include /etc/crypto-policies/back-ends/libreswan.config", this is a finding. |
Fix Text (F-73054r1049135_fix) |
Configure Libreswan to use the systemwide cryptographic policy. Add the following line to "/etc/ipsec.conf": include /etc/crypto-policies/back-ends/libreswan.config |