Aegisify company logo

We're Here to Help

Resources & Help Center

Search our knowledge base, view documentation, or get support. Everything you need in one place.

Should I enable HSTS in Aegisify Shield?

HTTP Strict Transport Security (HSTS) tells browsers: “only ever connect to this site over HTTPS”. It prevents attackers from downgrading a visitor to an insecure HTTP connection on public Wi-Fi.

What Shield sends

When Enable HSTS is ticked in Aegisify Shield → Security Headers → Standard headers, Shield sends this on HTTPS requests:

Strict-Transport-Security: max-age=31536000; includeSubDomains

That means browsers remember the rule for one year and apply it to all subdomains.

Why it is off by default

HSTS is hard to undo. Once a browser sees it, it refuses HTTP for that domain for a year. If any subdomain (for example mail.example.com or a staging site) does not have a valid HTTPS certificate, visitors will not be able to reach it.

Checklist before enabling

  1. Your whole site loads over HTTPS with a valid certificate.
  2. HTTP redirects to HTTPS.
  3. Every subdomain you use also has valid HTTPS.
  4. Your certificate renews automatically.

Then enable HSTS and save.

Warnings in Shield

Shield warns you if HSTS is enabled while the site is not being served over HTTPS, and the Header Health score flags HSTS as missing when it is off.

Related: Enable security headers, Security headers checklist.

2026-12-01T03:49:20+00:00January 13th, 2026||

Find this article interesting, please share.