Forum Discussion

Jonathancert's avatar
Jonathancert
Icon for Nimbostratus rankNimbostratus
Mar 03, 2020
Solved

TMOS HSTS

Is there a TMOS command to view HSTS settings for a Profile? I can see hsts listed under Property Group but not options. Second option. Is there are curl command to verify.   (cfg-sync In Sync...
  • Beaker's avatar
    Mar 04, 2020

    If you use list instead of show you will see the current settings for the profile (list /ltm profile http xxx_yyyy_http_prof)

     

    And when you curl if you use -vv you will see it in the output display that it is defined

     

     

    < HTTP/2.0 302

    < content-type:text/html

    < content-length:161

    < location:https://example.com/

    < strict-transport-security:max-age=31536000; includeSubDomains

    <