Home > Configuration > SSL > setsslvserver_sslredirect

setsslvserver_sslredirect

Use this method to set state of HTTPS redirects for the SSL virtual server.

For an SSL session, if the client browser receives a redirect message, the browser tries to connect to the new location. However, the secure SSL session breaks if the object has moved from a secure site (https://) to an unsecure site (http://). Typically, a warning message appears on the screen, prompting the user to continue or disconnect.
If SSL Redirect is ENABLED, the redirect message is automatically converted from http:// to https:// and the SSL session does not break.

Syntax



Parameters

vservername

Name of the SSL virtual server for which to set advanced configuration.
This is mandatory parameter.

sslredirect

State of HTTPS redirects for the SSL virtual server. For an SSL session, if the client browser receives a redirect message, the browser tries to connect to the new location. However, the secure SSL session breaks if the object has moved from a secure site (https://) to an unsecure site (http://). Typically, a warning message appears on the screen, prompting the user to continue or disconnect. If SSL Redirect is ENABLED, the redirect message is automatically converted from http:// to https:// and the SSL session does not break.
Default value = DISABLED.
Possible Values : ENABLED, DISABLED.

Return Value

Returns simpleResult

See Also