SRG-OS-000250-GPOS-00093<GroupDescription></GroupDescription>RHEL-07-040200The operating system must implement cryptography to protect the integrity of Lightweight Directory Access Protocol (LDAP) communications.<VulnDiscussion>Without cryptographic integrity protections, information can be altered by unauthorized users without detection.^M
^M
Cryptographic mechanisms used for protecting the integrity of information include, for example, signed hash functions using asymmetric cryptography enabling distribution of the public key to verify the hash information while maintaining the confidentiality of the key used to generate the hash.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>DPMS Target Red Hat 7</dc:title>DISA</dc:publisher>DPMS Target</dc:type>Red Hat 7</dc:subject>2777</dc:identifier>CCI-001453Configure the operating system to implement cryptography to protect the integrity of LDAP remote access sessions.^M
^M
Set the "tls_cacertfile" option in "/etc/pam_ldap.conf" to point to the path for the X.509 certificates used for peer authentication.Verify the operating system implements cryptography to protect the integrity of remote ldap access sessions.^M
^M
To determine if LDAP is being used for authentication, use the following command:^M
^M
grep -i useldapauth /etc/sysconfig/authconfig^M
USELDAPAUTH=yes^M
^M
If USELDAPAUTH=yes, then LDAP is being used.^M
^M
Check that the path to the X.509 certificate for peer authentication with the following command:^M
^M
grep -i cacertfile /etc/pam_ldap.conf^M
tls_cacertfile /etc/openldap/ldap-cacert.pem^M
^M
Verify the "tls_cacertfile" option points to a file that contains the trusted CA certificate.^M
^M
If this file does not exist, or the option is commented out or missing, this is a finding.
Group id="V-72231">
grep -i useldapauth /etc/sysconfig/authconfig^M
USELDAPAUTH=yes^M ^M If USELDAPAUTH=yes, then LDAP is being used.^M ^M Check that the path to the X.509 certificate for peer authentication with the following command:^M ^M
grep -i cacertfile /etc/pam_ldap.conf^M
tls_cacertfile /etc/openldap/ldap-cacert.pem^M ^M Verify the "tls_cacertfile" option points to a file that contains the trusted CA certificate.^M ^M If this file does not exist, or the option is commented out or missing, this is a finding.