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

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
highV-279930SRG-OS-000033-GPOS-00014RHEL-08-010280SV-279930r1184239_rule2026-02-052

Description

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

ℹ️ Check

Note: If the IPsec service is not installed, this is not applicable. Verify the IPsec service uses the system crypto policy with the following command: $ sudo grep include /etc/ipsec.conf /etc/ipsec.d/*.conf /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

Configure Libreswan to use the system cryptographic policy. Add the following line to "/etc/ipsec.conf": include /etc/crypto-policies/back-ends/libreswan.config