Data Center Security Monitoring EditionData Center Security ServerData Center Security Server Advanced
Issue/Introduction
How to enable HTTP Strict Transport Security (HSTS) for DCS over port 443, 4443, and 8443
Note: Enabling HSTS is not required as DCS does not use HTTP for any listener. All connections require TLS.
Environment
DCS 6.9.x
Resolution
To enable HSTS in Tomcat, follow below steps:
Stop the DCS Management server service and both UMC services
Take a backup of configuration file <server_install_dir>/tomcat/conf/web.xml
Open the <server_install_dir>/tomcat/conf/web.xml file in a text editor like notepad++ or similar
Search for the httpHeaderSecurity <filter> definition section and the <filter-mapping> section, as shown below. (In total, you will need to uncomment ‘httpHeaderSecurity’ at 2 places in the file)
Filter definition section Example: Default Values
New values after uncommenting
Built In Filter Mappings section Example: Default Values
New values after uncommenting
Save the file
Start the DCS Management server service and then the two UMC Services