Fortinet white logo
Fortinet white logo

Script Reference Guide

SSL:renegotiate()

SSL:renegotiate()

Requests the client side SSL renegotiation. This command returns Boolean true if successful, otherwise, returns Boolean false. Note that if renegotiation fails, this request will fail; we recommend only using this command if renegotiation is necessary.

Syntax

SSL:renegotiate()

Arguments

N/A

Events

  • BEFORE_AUTH

  • HTTP_REQUEST

Example

when HTTP_REQUEST {
          ret = SSL:renegotiate()
          if ret then
               debug("------> requests client side SSL renegotiation successfully.\n");
          else
               debug("------> requests client side SSL renegotiation failed.\n");
          end
}

Supported Version

FortiADC version 5.0.x and later.

SSL:renegotiate()

SSL:renegotiate()

Requests the client side SSL renegotiation. This command returns Boolean true if successful, otherwise, returns Boolean false. Note that if renegotiation fails, this request will fail; we recommend only using this command if renegotiation is necessary.

Syntax

SSL:renegotiate()

Arguments

N/A

Events

  • BEFORE_AUTH

  • HTTP_REQUEST

Example

when HTTP_REQUEST {
          ret = SSL:renegotiate()
          if ret then
               debug("------> requests client side SSL renegotiation successfully.\n");
          else
               debug("------> requests client side SSL renegotiation failed.\n");
          end
}

Supported Version

FortiADC version 5.0.x and later.