Home > Configuration > SSL > setsslprofile_hsts

setsslprofile_hsts

Use this method to set state of HSTS protocol support for the SSL profile. Using HSTS, a server can enforce the use of an HTTPS connection for all communication with a client

Syntax



Parameters

name

Name for the SSL profile. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Cannot be changed after the profile is created.
This is mandatory parameter.

hsts

State of HSTS protocol support for the SSL profile. Using HSTS, a server can enforce the use of an HTTPS connection for all communication with a client
Default value = DISABLED.
Possible Values : ENABLED, DISABLED.

Return Value

Returns simpleResult

See Also