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_V2R6_STIG.zip

Item Details

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

Plugin: Unix

Control ID: fc71eb6c0a87fc87a4653438b51f640acb7a07f6271f6a79a819ffe9ec964783