Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

HSTS Config not working in Tomcat for Confluence 7.13.2

Florian Seifer November 25, 2021

Hello,

 

I am having trouble with getting HSTS to work after an upgrade to Confluence 7.13.2

Did anything change in the way I configure HSTS for a standalone Tomcat?

 

Here are the relevant parts of my web.xml:

<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>antiClickJackingOption</param-name>
<param-value>SAMEORIGIN</param-value>
</init-param>
</filter>

<filter-mapping>
<filter-name>httpHeaderSecurity</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>

 

But when I reach the Website vi an IP-address (which is not part of its certificate) I can still add an exception and proceed?

 

There isnt much else I can do but to restart confluence. I know these modifications worked in a previous version....

 

Am I missing something here?

 

 

Regards

FSeifer

 

1 answer

0 votes
Fabian Lim
Community Champion
November 27, 2021

Hi @Florian Seifer

If you are still having issues, I would recommend you open a ticket with atlassian support for faster support.  Make sure you include your logs.  

Regards

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.13.2
TAGS
AUG Leaders

Atlassian Community Events