Forum Discussion
negin
Jun 06, 2019Altostratus
HSTS
Hello Dear when enable HSTS in profile insert HSTS in header but when test with ssl lab and another tools for test hsts show there is not hsts.How can I fix this problem? my firmware f5 is 12.1.2 ...
JG
Jun 20, 2019Cumulonimbus
Try the following:
when RULE_INIT {
set static::expires [clock scan "12 month"]
}
when HTTP_RESPONSE {
HTTP::header insert Strict-Transport-Security "max-age=[expr {$static::expires - [clock seconds]}]; includeSubDomains"
}
- neginJun 20, 2019Altostratus
Hello
I tested it but does not work
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects