SV-283450r1188541_rule
V-283450
SRG-OS-000033-GPOS-00014
OL08-00-010186
CAT I
10
Configure Libreswan to use the system cryptographic policy.
Add the following line to "/etc/ipsec.conf":
include /etc/crypto-policies/back-ends/libreswan.config
Verify the IPsec service uses the system crypto policy with the following command:
Note: If the IPsec service is not installed, this 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.
V-283450
False
OL08-00-010186
Verify the IPsec service uses the system crypto policy with the following command:
Note: If the IPsec service is not installed, this 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.
M
5416