TCAT-AS-000710 - Keystore file must be protected.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Keystore file contains authentication information used to access application data and data resources. Access to the file must be protected.

The default location is in the .keystore file stored in the home folder of the user account used to run Tomcat although some administrators may choose to locate the file elsewhere. The location will also be specified in the server.xml file.

Solution

Run the following commands on the Tomcat server:

sudo chmod 640 [keystorefile]
sudo chown root [keystorefile]
sudo chgrp tomcat [keystorefile]

Store the keystore file in a secured folder within the Tomcat folder path.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Apache_Tomcat_Application_Server_9_V2R4_STIG.zip

Item Details

References: CAT|II, CCI|CCI-000186, Rule-ID|SV-222967r615938_rule, STIG-ID|TCAT-AS-000710, STIG-Legacy|SV-111459, STIG-Legacy|V-102517, Vuln-ID|V-222967

Plugin: Unix

Control ID: 5c4f12f02155fefbf6190e672c2bf7ed1a692c5a097ebe6d59dc65534e2677ae