Chapter 6 Web Interface
4.Add an HTTPS vserver. At the NetScaler command prompt, type: add lb vserver <virtualServerName> <protocol> <IPAddress> <port>
Example
add lb vserver HTTPS_WI SSL 10.102.29.3 443
For more information, see “Adding an
5.Bind the Web interface service to the HTTPS vserver. At the NetScaler command prompt, type:
bind lb vserver <virtualServerName> <serviceName>
Example
bind lb vserver HTTPS_WI WI_Loopback_Service
For more information, see “Binding Services to the Virtual Server” in the “Secure Sockets Layer (SSL) Acceleration” chapter of the Citrix NetScaler Traffic Management Guide at http://support.citrix.com/article/CTX128670.
6.Create an SSL certificate key pair. At the NetScaler command prompt, type:
add ssl certkey
Example
add ssl certkey
For more information, see “Adding a Certificate Key Pair” in the “Secure Sockets Layer (SSL) Acceleration” chapter of the Citrix NetScaler Traffic Management Guide at http://support.citrix.com/article/CTX128670.
7.Bind the SSL certificate key pair to the HTTPS vserver. At the NetScaler command prompt, type:
bind ssl vserver <vserverName>
Example
bind ssl vserver HTTPS_WI
For more information, see “Binding an SSL Certificate Key Pair to the Virtual Server” in the “Secure Sockets Layer (SSL) Acceleration” chapter of the Citrix NetScaler Traffic Management Guide at http://support.citrix.com/article/ CTX128670.
8.Add a rewrite action. At the NetScaler command prompt, type:
add rewrite action <name> <type> <target> [<stringBuilderExpr>]
Example
add rewrite action Replace_HTTP_to_HTTPS INSERT_AFTER "HTTP.RES.HEADER(\"Location\").Value(0).Prefix(4)" "\"s\""
162