1.19 ALMA-09-003870

Information

AlmaLinux OS 9 IP tunnels must use FIPS 140-3 approved cryptographic algorithms.

GROUP ID: V-269122
RULE ID: SV-269122r1184087

Overriding the system crypto policy makes the behavior of the Libreswan service violate expectations and makes the system configuration more fragmented.

Solution

Configure Libreswan to use the systemwide cryptographic policy.

Add the following line to "/etc/ipsec.conf":

include /etc/crypto-policies/back-ends/libreswan.config

See Also

https://workbench.cisecurity.org/benchmarks/27039