EN, Change language
English
UK-115

HSTS lasts a year and covers subdomains: max-age=31536000; includeSubDomains (preload recommended).

GOV.UK Service Manual · Every UK public sector website

Why it matters to users

A short HSTS lifetime can lapse between visits, and subdomains left out can still be reached over plain HTTP and abused.

How to fix it

Once every subdomain works over HTTPS, send Strict-Transport-Security: max-age=31536000; includeSubDomains and consider adding preload. Then scan again.

How we measure it

The HSTS header's max-age is at least 31536000 and it includes includeSubDomains.

Its official source

Related rules

HSTS covers a year and subdomains · UK-115 | xfix