Citrix Systems CITRIX NETSCALER 9.3 manual Example

Models: CITRIX NETSCALER 9.3

1 195
Download 195 pages 43.21 Kb
Page 162
Image 162
Manual background

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 SSL-Based Virtual Server” in the “Secure Sockets Layer (SSL) Acceleration” chapter of the Citrix NetScaler Traffic Management Guide at http://support.citrix.com/article/CTX128670.

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 <certificate-KeyPairName> -cert <certificateFileName> -key <privateKeyFileName>

Example

add ssl certkey SSL-Certkey-1 -cert /nsconfig/ssl/test1.cer - key /nsconfig/ssl/test1

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> -certkeyName <certificate- KeyPairName>

Example

bind ssl vserver HTTPS_WI -certkeyName SSL-Certkey-1

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>] [(-pattern <expression>]

Example

add rewrite action Replace_HTTP_to_HTTPS INSERT_AFTER "HTTP.RES.HEADER(\"Location\").Value(0).Prefix(4)" "\"s\""

162

Page 162
Image 162
Citrix Systems CITRIX NETSCALER 9.3 manual Example