<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Example config on my ACE: in Application Networking</title>
    <link>https://community.cisco.com/t5/application-networking/ace-url-rewrite-ssl-from-http-to-https/m-p/2628784#M42646</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size:14px;"&gt;&lt;SPAN style="font-family: georgia,serif;"&gt;Example config on my ACE: HTTP-to-HTTPS Redirect w/SSL Termination&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size:14px;"&gt;&lt;SPAN style="font-family: georgia,serif;"&gt;With this example config, clients that connect to the VIP on port 80 (HTTP) will be redirected to the same FQDN and path using port 443 (HTTPS).&amp;nbsp; Clients will then open an HTTPS session to the ACE where the SSL session will be terminated and load balanced to the real servers.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size:14px;"&gt;&lt;SPAN style="font-family: georgia,serif;"&gt;You can use redirect rserver to redirect HTTP connections to HTTPS. The HTTP-to-HTTPS redirect in this example is a 301 redirect (permanent).&amp;nbsp; The 301 can be either removed or changed to 302 to revert to the default of a temporary redirect.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE&gt;
rserver redirect REDIRECT-TO-HTTPS
 webhost-redirection &lt;A href="https://%h%p" target="_blank"&gt;https://%h%p&lt;/A&gt; 301
 inservice

rserver host SERVER_01
  ip address 10.10.10.20
  inservice

rserver host SERVER_02
  ip address 10.10.10.21
  inservice

ssl-proxy service SSL_SERVICE
  key mykey.pem
  cert mycert.pem

serverfarm redirect REDIRECT-SERVERFARM
 rserver REDIRECT-TO-HTTPS
 inservice

serverfarm host REAL_SERVERS
  rserver SERVER_01 80
    inservice
  rserver SERVER_02 80
    inservice

class-map match-all HTTP-VIP
  2 match virtual-address 172.21.162.178 tcp eq http
class-map match-all HTTPS-VIP
  2 match virtual-address 172.21.162.178 tcp eq https

policy-map type loadbalance first-match REDIRECT-PM
  class class-default
   serverfarm REDIRECT-SERVERFARM

policy-map type loadbalance first-match LOAD-BALANCE-PM
  class class-default
   serverfarm REAL-SERVERS

policy-map multi-match WEB-TRAFFIC
  class HTTP-VIP
    loadbalance vip inservice
    loadbalance policy REDIRECT-PM
    loadbalance vip icmp-reply
  class HTTPS-VIP
    loadbalance vip inservice
    loadbalance policy LOAD-BALANCE-PM
    loadbalance vip icmp-reply active
    ssl-proxy server SSL_SERVICE&lt;/PRE&gt;</description>
    <pubDate>Tue, 17 Feb 2015 13:43:05 GMT</pubDate>
    <dc:creator>Santhosh S</dc:creator>
    <dc:date>2015-02-17T13:43:05Z</dc:date>
    <item>
      <title>ACE URL rewrite SSL from HTTP to HTTPS</title>
      <link>https://community.cisco.com/t5/application-networking/ace-url-rewrite-ssl-from-http-to-https/m-p/2628783#M42645</link>
      <description>&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a wildcard certificate installed on my ace context.now we need to add a rewrite rule to the ACE on VIP: 10.40.81.14 to redirect http traffic to https. Basically anytime someone tries to hit &lt;STRONG&gt;http://portal.abc.com&lt;/STRONG&gt; or &lt;STRONG&gt;http://portal.abc.com&lt;/STRONG&gt;/list it should automatically redirect to &lt;A href="https://portal.abc.com/list" target="_blank"&gt;https://portal.abc.com/list&lt;/A&gt; "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2015 06:06:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/ace-url-rewrite-ssl-from-http-to-https/m-p/2628783#M42645</guid>
      <dc:creator>dnsroot13</dc:creator>
      <dc:date>2015-02-17T06:06:38Z</dc:date>
    </item>
    <item>
      <title>Example config on my ACE:</title>
      <link>https://community.cisco.com/t5/application-networking/ace-url-rewrite-ssl-from-http-to-https/m-p/2628784#M42646</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size:14px;"&gt;&lt;SPAN style="font-family: georgia,serif;"&gt;Example config on my ACE: HTTP-to-HTTPS Redirect w/SSL Termination&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size:14px;"&gt;&lt;SPAN style="font-family: georgia,serif;"&gt;With this example config, clients that connect to the VIP on port 80 (HTTP) will be redirected to the same FQDN and path using port 443 (HTTPS).&amp;nbsp; Clients will then open an HTTPS session to the ACE where the SSL session will be terminated and load balanced to the real servers.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size:14px;"&gt;&lt;SPAN style="font-family: georgia,serif;"&gt;You can use redirect rserver to redirect HTTP connections to HTTPS. The HTTP-to-HTTPS redirect in this example is a 301 redirect (permanent).&amp;nbsp; The 301 can be either removed or changed to 302 to revert to the default of a temporary redirect.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE&gt;
rserver redirect REDIRECT-TO-HTTPS
 webhost-redirection &lt;A href="https://%h%p" target="_blank"&gt;https://%h%p&lt;/A&gt; 301
 inservice

rserver host SERVER_01
  ip address 10.10.10.20
  inservice

rserver host SERVER_02
  ip address 10.10.10.21
  inservice

ssl-proxy service SSL_SERVICE
  key mykey.pem
  cert mycert.pem

serverfarm redirect REDIRECT-SERVERFARM
 rserver REDIRECT-TO-HTTPS
 inservice

serverfarm host REAL_SERVERS
  rserver SERVER_01 80
    inservice
  rserver SERVER_02 80
    inservice

class-map match-all HTTP-VIP
  2 match virtual-address 172.21.162.178 tcp eq http
class-map match-all HTTPS-VIP
  2 match virtual-address 172.21.162.178 tcp eq https

policy-map type loadbalance first-match REDIRECT-PM
  class class-default
   serverfarm REDIRECT-SERVERFARM

policy-map type loadbalance first-match LOAD-BALANCE-PM
  class class-default
   serverfarm REAL-SERVERS

policy-map multi-match WEB-TRAFFIC
  class HTTP-VIP
    loadbalance vip inservice
    loadbalance policy REDIRECT-PM
    loadbalance vip icmp-reply
  class HTTPS-VIP
    loadbalance vip inservice
    loadbalance policy LOAD-BALANCE-PM
    loadbalance vip icmp-reply active
    ssl-proxy server SSL_SERVICE&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Feb 2015 13:43:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/ace-url-rewrite-ssl-from-http-to-https/m-p/2628784#M42646</guid>
      <dc:creator>Santhosh S</dc:creator>
      <dc:date>2015-02-17T13:43:05Z</dc:date>
    </item>
  </channel>
</rss>

