Enabling HTTP Strict Transport Security (CLI)

Use this procedure to enable HSTS for this appliance.

  1. Go to configuration settings certificates security.
  2. Enter the get command to view security properties.
    hostname:configuration settings certificates security> get
                    hsts_enable = false
                   hsts_max_age = 730 days
  3. Set the hsts_enable property to true.
    hostname:configuration settings certificates security> set hsts_enable=true
                    hsts_enable = true (uncommitted)
  4. Optional: Set the maximum length of time that HSTS will remain enabled.

    Update the value of hsts_max_age, including units. Units can be seconds, minutes, hours, days, weeks, or months.

  5. Enter commit to commit the changes.