STIGUI
V-258232CAT I — High severitySV-258232r1268222_rule

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

Rule version RHEL-09-671020 · STIG v2 · 2026-09-17

Discussion

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

Check

Verify that the IPsec service uses the system crypto policy with the following command:

Note: If the ipsec service is not installed, this requirement is Not Applicable.

$ sudo grep include /etc/ipsec.conf /etc/ipsec.d/*.conf

/etc/ipsec.conf:include /etc/crypto-policies/back-ends/libreswan.config

If the ipsec configuration file does not contain "include /etc/crypto-policies/back-ends/libreswan.config", this is a finding.

Fix

Configure Libreswan to use the system cryptographic policy.

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

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

Identifiers

Group ID
V-258232
Group title
SRG-OS-000033-GPOS-00014
Rule ID
SV-258232r1268222_rule
Check ID
C-61973r926681_chk
Fix ID
F-61897r926682_fix