SV-222964r615938_rule
V-222964
SRG-APP-000153-AS-000104
TCAT-AS-000630
CAT I
10
If using JMX for management of the Tomcat server, start the Tomcat server by adding the following command line flags to the systemd startup scripts in /etc/systemd/system/tomcat.service.
Environment='CATALINA_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.ssl=true'
sudo systemctl start tomcat
sudo systemctl daemon-reload
JMX management is configured via the Tomcat CATALINA_OPTS environment variable setting maintained in the /etc/systemd/system/tomcat.service file for Ubuntu systemd UNIX. For other flavors of Linux, this location may vary.
As a privileged user from the Tomcat server run the following command:
grep -i jmxremote /etc/systemd/system/tomcat.service
Review output, if there are no results displayed, jmxremote management extensions are not used, and this requirement is NA.
If the JMXremote setting is configured and jmxremote.ssl="false", this is a finding.
EXAMPLE:
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
V-222964
False
TCAT-AS-000630
JMX management is configured via the Tomcat CATALINA_OPTS environment variable setting maintained in the /etc/systemd/system/tomcat.service file for Ubuntu systemd UNIX. For other flavors of Linux, this location may vary.
As a privileged user from the Tomcat server run the following command:
grep -i jmxremote /etc/systemd/system/tomcat.service
Review output, if there are no results displayed, jmxremote management extensions are not used, and this requirement is NA.
If the JMXremote setting is configured and jmxremote.ssl="false", this is a finding.
EXAMPLE:
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
M
4094