Objective
This article contains information about configuring URL redirection for Secure Socket Layer (SSL) on a NetScaler appliance.
At times, to ensure a secure access to the Web site, the client request can be redirected to a secure link. The URL redirection feature enables to redirect a client request to a secure Web site on SSL.
To redirect client requests, configure the two Load Balancing virtual servers (VServers) in such a way that when the HTTP requests reach the first Load Balancing VServer, which is always down, the requests are redirected to the second Load Balancing VServer with HTTPS request due to the Content Switching policy configured on the appliance.
Instructions
To configure URL redirection for SSL on a NetScaler appliance, complete the following procedure:
-
If not already enabled, run the following command from the command line interface of the NetScaler appliance to enable the Content Switching feature:
enable ns feature CS
-
Run the following commands to create two Load Balancing VServers:
add lb vserver <First_LB_Server_Name> HTTP 0.0.0.0 0 -persistenceType NONE -cltTimeout 180
add lb vserver <Second_LB_Server_Name> HTTP 0.0.0.0 0 -persistenceType NONE -state DISABLED -redirectURL https://www.example.com/ -cltTimeout 180The following screen shots display the corresponding VServers created from the GUI of the appliance:
Note: One of these VServers serves all the client requests and the other only performs URL redirection. The second VServer is disabled because the sole purpose of the VServer is to redirect URLs.
-
Run the following commands to create Content Switching VServers:
add cs vserver <CS_HTTP_VSERVER_Name> HTTP 1.1.1.1 80
add cs vserver <CS_SSL_VSERVER_Name> SSL 1.1.1.1 443Note: If you have already created a Load Balancing VServer with the same IP address and port number, you must remove it before completing this step.
-
Run the following commands to bind the respective Load Balancing and Content Switching VServers created in this procedure:
bind cs vserver <CS_HTTP_VSERVER_Name> <Second_LB_Server_Name>
bind cs vserver <CS_SSL_VSERVER_Name> <First_LB_Server_Name>The following screen shots display the corresponding bindings of the VServers from the GUI of the appliance, which??must be removed??before completing this step:
Note: In addition to the server, you must bind the appropriate services to the Load Balancing VServers and the SSL key certificate pairs to the SSL Content Switching VServer.
Additional Resources
For Configuration Utility Changes for NetScaler 10.1 refer Citrix eDocs -??Configuration Utility Changes.
http://docs.citrix.com/en-us/netscaler/10-5/ns-rn-main-wrapper-10-5-con/gui-changes-ns-10-5.html
Supporto Citrix
Traduzione automatica
Questo articolo ??¨ stato tradotto da un sistema di traduzione automatica e non ??¨ stata valutata da persone. Citrix fornisce traduzione automatica per aumentare l'accesso per supportare contenuti; tuttavia, articoli automaticamente tradotte possono possono contenere degli errori. Citrix non ??¨ responsabile di incongruenze, errori o danni derivanti dell'uso di articoli automaticamente tradotte.
Citrix技術支持
自動翻譯
這篇文章被翻譯由一個自動翻譯系統,並沒有受到人們的審查。 Citrix提供自動翻譯,增加獲得支持的內容;但是,自動翻譯的文章可能可以包含錯誤。思傑不負責不一致,錯誤或損壞因使用自動翻譯的文章的結果。
Поддержка Citrix
Tradução automática
Эта статья была переведена автоматической системой перевода и не был рассмотрен людьми. Citrix обеспечивает автоматический перевод с целью расширения доступа для поддержки контента; Однако, автоматически переведенные статьи могут может содержать ошибки. Citrix не несет ответственности за несоответствия, ошибки, или повреждения, возникшие в результате использования автоматически переведенных статей.
시트릭스 지원
자동 번역
이 문서 자동 번역 시스템에 의해 번역 된 사람들에 의해 검토되지 않았다. 시트릭스는 컨텐츠를 지원하기 위해 접근을 높이기 위해 자동 번역을 제공합니다; 그러나, 자동으로 번역 기사 오류를 포함 할 수있다. 시트릭스는 자동으로 번역 된 기사의 사용의 결과로 발생하는 불일치, 오류 또는 손해에 대해 책임을지지 않습니다.