Skip Navigation

IIST-SV-000205: Enable HSTS

The IIS 10.0 web server must enable HTTP Strict Transport Security (HSTS.)
To check compliance with IIST-SV-000205, complete the following steps:
  1. Access the IIS 10.0 web server.
  2. Open IIS Manager.
  3. Click the IIS 10.0 web server name.
  4. Under
    Management
    , open
    Configuration Editor
    .
  5. For the
    Section
    , navigate to
    system.applicationHost/sites
    .
  6. Expand
    siteDefaults
    and
    HSTS
    .
Your server is not compliant if:
  • enabled is not set to True.
  • includeSubDomains is not set to True.
  • max-age is not set to a value greater than 0.
  • redirectHttpToHttps is not set to True.
If your server is not compliant, complete the following steps:
  1. Log in to the Configuration Editor in the IIS Manager or Powershell.
  2. Enable
    HSTS
    .
  3. Set
    includeSubDomains
    to
    True
    .
  4. Set
    max-age
    to a value greater than 0.
  5. Set
    redirectHttpToHttps
    to
    True
    .