NetWorker: How to enable HSTS configuration in NetWorker Apache Tomcat server
Summary: This article provides instructions for enabling HTTP Strict Transport Security (HSTS) on NetWorker web-based applications.
Αυτό το άρθρο ισχύει για
Αυτό το άρθρο δεν ισχύει για
Αυτό το άρθρο δεν συνδέεται με κάποιο συγκεκριμένο προϊόν.
Δεν προσδιορίζονται όλες οι εκδόσεις προϊόντων σε αυτό το άρθρο.
Instructions
By default, all NetWorker web applications use HTTPS for all the communication; however, HSTS is not enforced. See RFC 6797
NOTE: HSTS is an optional response header that can be configured on the server to instruct the browser to only communicate using HTTPS. The lack of HSTS allows downgrade attacks, SSL-stripping man-in-the-middle attacks, and weakens cookie-hijacking protections.
To enable HSTS in Tomcat, follow these steps:
- Open the NetWorker server web.xml file in a text editor.
- Linux:
/opt/nsr/authc-server/tomcat/conf/web.xml - Windows (Default):
C:\Program Files\EMC NetWorker\nsr\authc-server\tomcat\conf\web.xml
- Uncomment the
httpHeaderSecurityfilter definition and the<filter-mapping>section, and then add thehstsMaxAgeSecondsparameter, as shown below.
<filter>
<filter-name>httpHeaderSecurity</filter-name>
<filter-class>org.apache.catalina.filters.HttpHeaderSecurityFilter</filter-class>
<init-param>
<param-name>hstsMaxAgeSeconds</param-name>
<param-value>31536000</param-value>
</init-param>
<async-supported>true</async-supported>
</filter>
<filter-mapping>
<filter-name>httpHeaderSecurity</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
- Save the file.
- Restart the NW server from an elevated prompt:
- Linux:
systemctl restart networker - Windows (Command Prompt):
net stop nsrd && net start nsrd - Windows (PowerShell):
net stop nsrd ; net start nsrd
Επηρεαζόμενα προϊόντα
NetWorkerΠροϊόντα
NetWorker FamilyΙδιότητες άρθρου
Article Number: 000456395
Article Type: How To
Τελευταία τροποποίηση: 23 Απρ 2026
Version: 1
Βρείτε απαντήσεις στις ερωτήσεις σας από άλλους χρήστες της Dell
Υπηρεσίες υποστήριξης
Ελέγξτε αν η συσκευή σας καλύπτεται από τις Υπηρεσίες υποστήριξης.