SV-222968r615938_rule
V-222968
SRG-APP-000179-AS-000129
TCAT-AS-000750
CAT I
10
In addition to configuring Tomcat, the admin must also configure the underlying OS and Java engine to use FIPS validated encryption modules. This fix instructs how to enable FIPSMode within Tomcat, the OS and Java engine must be configured to use the FIPS validated modules according to the chosen OS and Java engine.
From the Tomcat server as a privileged user:
sudo nano $CATALINA_BASE/conf/server.xml.
In the <Listener/> element, locate the AprLifecycleListener. Either add or modify the FIPSMode setting and set it to FIPSMode="on".
EXAMPLE:
<Listener
className="org.apache.catalina.core.AprLifecycleListener"
SSLEngine="on"
FIPSMode="on"
/>
Restart the Tomcat server:
sudo systemctl restart tomcat
sudo systemctl daemon-reload
From the Tomcat server console, run the following two commands to verify Tomcat server is configured to use FIPS:
sudo grep -i fipsmode $CATALINA_BASE/conf/server.xml
sudo grep -i fipsmode $CATALINA_BASE/logs/catalina.out
If server.xml does not contain FIPSMode="on", or if catalina.out contains the error "failed to set property[FIPSMODE] to [on]", this is a finding.
V-222968
False
TCAT-AS-000750
From the Tomcat server console, run the following two commands to verify Tomcat server is configured to use FIPS:
sudo grep -i fipsmode $CATALINA_BASE/conf/server.xml
sudo grep -i fipsmode $CATALINA_BASE/logs/catalina.out
If server.xml does not contain FIPSMode="on", or if catalina.out contains the error "failed to set property[FIPSMODE] to [on]", this is a finding.
M
4094