HSTS stands for HTTP Strict-Transport-Security.  HSTS is turned off in vCommander by default since it restricts both the admin and portal interfaces to run on port 443.

HSTS is not a vulnerability, it is a configuration choice.  Out of the box vCommander does not have HSTS enabled and enabling it does not provide extra security since vCommander does not serve content over port 80 and has a re-direct in place to automatically redirect all connections from port 80 to 443.


  • vCommander and portal interfaces must be set to run on port 443. You cannot run portal on a different port.
  • vComamnder must have a valid certificate that ALL clients accept.

Steps To Enable HSTS in vCommander

1.  Edit <install dir>/tomcat/conf/server.xml

            Make sure that unpackWARS is enabled


2. If it is set to “false” then you will need to set it to true then restart the vCommander windows service.

3. Stop the vCommander windows service

4.  Edit 5 web.xml files

            <install dir>/tomcat/webapps/newui/WEB-INF/web.xml

            <install dir>/tomcat/webapps/admin/WEB-INF/web.xml

            <install dir>/tomcat/webapps/ng-ui/WEB-INF/web.xml

            <install dir>/tomcat/webapps/portal/WEB-INF/web.xml

<install dir>/\tomcat\webapps\expiryextension\WEB-INF/ web.xml

            Add the following after the last </filter-mapping> entry in each web.xml file (for expiryextension add this on line 111)




























5. Start the vCommander windows service.