In some highly secured environments, you may be required to enabled HTTP Strict Transport Security (HSTS) on the VM Access Proxy, to add an additional layer of security to remote connections. Follow the process below to enable on the VM Access Proxy.
Important! This configuration will not currently survive an upgrade of the VM Access Proxy, as the entire container for the application is replaced during upgrades, and HSTS support (or being enabled by default) is not yet available.
- Login to the VM Access Proxy.
- SSH into the container itself by issuing the command:
sudo docker exec -it remoteaccess /bin/bash
- The container image is very lightweight, so next install the vim text editor :
- Issue the command:
apt-get update
- Issue the command:
apt-get -y install vim
- Issue the command below to edit the tomcat webserver web.xml configuration file:
vim tomcat/webapps/RemoteAccess/WEB-INF/web.xml
- Add the following contents before the </web-app> tag:
<filter>
<filter-name>httpHeaderSecurity</filter-name>
<filter-class>org.apache.catalina.filters.HttpHeaderSecurityFilter</filter-class>
<async-supported>true</async-supported>
<init-param>
<param-name>hstsEnabled</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>hstsMaxAgeSeconds</param-name>
<param-value>31536000</param-value>
</init-param>
<init-param>
<param-name>hstsIncludeSubDomains</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<!-- The mapping for the HTTP header security Filter -->
<filter-mapping>
<filter-name>httpHeaderSecurity</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
- Hit [ESC] and then enter :wq to save your changes. See the attached example file for your reference.
- Logout of the container by issuing the command:
exit
- Issue the following command to restart the container:
docker restart remoteaccess
- Scan with security software to confirm that the configuration has succeeded. Alternatively, ping the VM Access Proxy using postman to verify that it responds with the HSTS header present.
- Login to Commander and confirm that connections are successful.
Related Articles
Validating the VM Access Proxy Configuration 13Number of Views Supplementary Steps for Upgrading to Commander VM Access Proxy 3.8 6Number of Views VM access proxy installation in Snow Commander 14Number of Views How Are Commander VM Access Proxy Sessions Connected? 8Number of Views VM ACCESS PROXY - LOG4J2.XML library version used is exposed to VULNERABILITY ( CVE-2021-44228 ) 5Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago