cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
552
Views
0
Helpful
2
Replies

HTTP to HTTPS redirect on a CSM

cnohrden
Level 1
Level 1

I am kinda new to the CSM so please bear with.

Currently, when a client hits a vserver on the CSM using port 80, the CSM passes the traffic to a serverfarm which chooses a real server. Now, we have a new security requirement, and I need to redirect them to the same URL -or- IP address but on port 443. What is needed in the CSM configuration to tell the client browser to automatically use port 443 instead of port 80?

Thank you.

1 Accepted Solution

Accepted Solutions

Gilles Dufour
Cisco Employee
Cisco Employee

here is a link to a sample config :

http://www.cisco.com/en/US/products/hw/modules/ps2706/products_configuration_example09186a00802877f6.shtml

This example is http to http.

To do http to https you need to add the command 'ssl https' under the redirect-vserver

ie:

serverfarm REDIRECTFARM

nat server

no nat client

redirect-vserver WWW2

webhost relocation www2.test.com 301

ssl 443

inservice

Let us know if this works.

Gilles.

View solution in original post

2 Replies 2

Gilles Dufour
Cisco Employee
Cisco Employee

here is a link to a sample config :

http://www.cisco.com/en/US/products/hw/modules/ps2706/products_configuration_example09186a00802877f6.shtml

This example is http to http.

To do http to https you need to add the command 'ssl https' under the redirect-vserver

ie:

serverfarm REDIRECTFARM

nat server

no nat client

redirect-vserver WWW2

webhost relocation www2.test.com 301

ssl 443

inservice

Let us know if this works.

Gilles.

This is exactly what was needed. I added "ssl 443" and it immediately started working. (The only functional piece that I am doing different is I am not NAT'ing the server in the serverfarm.)

Thank you very much.

Review Cisco Networking for a $25 gift card