<?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 CSS11501 ssl-server urlrewrite Not Working in Application Networking</title>
    <link>https://community.cisco.com/t5/application-networking/css11501-ssl-server-urlrewrite-not-working/m-p/385977#M6747</link>
    <description>&lt;P&gt;I have a CSS11501 with the on-board SSL module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The device is configured with the relevant ss-proxy-list,ssl services and content rules to receive https sessions, decrypt them and pass them onto backend http Web servers - this is working ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the customer also wants any normal http sessions sent from the users browser to be re-written to https - this is to cater for the situation where the user accidently types a http url instead of using https. e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//&lt;A class="jive-link-custom" href="http:www.mydomain.com/webstuff/content.html" target="_blank"&gt;http:www.mydomain.com/webstuff/content.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//&lt;A class="jive-link-custom" href="https://community.cisco.com/www.mydomain.com/webstuff/content.html" target="_blank"&gt;https:www.mydomain.com/webstuff/content.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the documentation I have read it appears to me that the 'urlrewrite' command does exactly this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I have configured this in my ssl-proxy-list but it doesn't seem to work - a browser session using http just times-out and doesn't get re-directed to https.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have I got the correct command..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My relevant config bits are below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ssl-proxy-list ssl_listxxxx&lt;/P&gt;&lt;P&gt;  ssl-server 33&lt;/P&gt;&lt;P&gt;  ssl-server 33 vip address xxx.xxx.xxx.xxx&lt;/P&gt;&lt;P&gt;  ssl-server 33 rsacert my_cert&lt;/P&gt;&lt;P&gt;  ssl-server 33 rsakey my_key&lt;/P&gt;&lt;P&gt;  ssl-server 33 cipher rsa-export-with-rc4-40-md5 xxx.xxx.xxx.xxx 80&lt;/P&gt;&lt;P&gt;  ssl-server 33 urlrewrite 1 &lt;A class="jive-link-custom" href="http://www.mydomain.com" target="_blank"&gt;www.mydomain.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;  active &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;service ssl-serxxxx&lt;/P&gt;&lt;P&gt;  type ssl-accel&lt;/P&gt;&lt;P&gt;  slot 2&lt;/P&gt;&lt;P&gt;  keepalive type none&lt;/P&gt;&lt;P&gt;  add ssl-proxy-list ssl_listxxxx&lt;/P&gt;&lt;P&gt;  active&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  content ssl-content&lt;/P&gt;&lt;P&gt;    vip address xxx.xxx.xxx.xxx&lt;/P&gt;&lt;P&gt;    port 443&lt;/P&gt;&lt;P&gt;    protocol tcp&lt;/P&gt;&lt;P&gt;    add service ssl-serxxxx&lt;/P&gt;&lt;P&gt;    application ssl&lt;/P&gt;&lt;P&gt;    advanced-balance ssl&lt;/P&gt;&lt;P&gt;    active&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  content backed-http-content&lt;/P&gt;&lt;P&gt;    add service http-content-1&lt;/P&gt;&lt;P&gt;    add service http-content-1&lt;/P&gt;&lt;P&gt;    protocol tcp&lt;/P&gt;&lt;P&gt;    port 80&lt;/P&gt;&lt;P&gt;    url "/webstuff*"&lt;/P&gt;&lt;P&gt;    advanced-balance sticky-srcip-dstport&lt;/P&gt;&lt;P&gt;    vip address xxx.xxx.xxx.xxx&lt;/P&gt;&lt;P&gt;    active&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks....John&lt;/P&gt;</description>
    <pubDate>Fri, 24 Sep 2004 07:49:16 GMT</pubDate>
    <dc:creator>john.pepper</dc:creator>
    <dc:date>2004-09-24T07:49:16Z</dc:date>
    <item>
      <title>CSS11501 ssl-server urlrewrite Not Working</title>
      <link>https://community.cisco.com/t5/application-networking/css11501-ssl-server-urlrewrite-not-working/m-p/385977#M6747</link>
      <description>&lt;P&gt;I have a CSS11501 with the on-board SSL module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The device is configured with the relevant ss-proxy-list,ssl services and content rules to receive https sessions, decrypt them and pass them onto backend http Web servers - this is working ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the customer also wants any normal http sessions sent from the users browser to be re-written to https - this is to cater for the situation where the user accidently types a http url instead of using https. e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//&lt;A class="jive-link-custom" href="http:www.mydomain.com/webstuff/content.html" target="_blank"&gt;http:www.mydomain.com/webstuff/content.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//&lt;A class="jive-link-custom" href="https://community.cisco.com/www.mydomain.com/webstuff/content.html" target="_blank"&gt;https:www.mydomain.com/webstuff/content.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the documentation I have read it appears to me that the 'urlrewrite' command does exactly this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I have configured this in my ssl-proxy-list but it doesn't seem to work - a browser session using http just times-out and doesn't get re-directed to https.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have I got the correct command..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My relevant config bits are below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ssl-proxy-list ssl_listxxxx&lt;/P&gt;&lt;P&gt;  ssl-server 33&lt;/P&gt;&lt;P&gt;  ssl-server 33 vip address xxx.xxx.xxx.xxx&lt;/P&gt;&lt;P&gt;  ssl-server 33 rsacert my_cert&lt;/P&gt;&lt;P&gt;  ssl-server 33 rsakey my_key&lt;/P&gt;&lt;P&gt;  ssl-server 33 cipher rsa-export-with-rc4-40-md5 xxx.xxx.xxx.xxx 80&lt;/P&gt;&lt;P&gt;  ssl-server 33 urlrewrite 1 &lt;A class="jive-link-custom" href="http://www.mydomain.com" target="_blank"&gt;www.mydomain.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;  active &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;service ssl-serxxxx&lt;/P&gt;&lt;P&gt;  type ssl-accel&lt;/P&gt;&lt;P&gt;  slot 2&lt;/P&gt;&lt;P&gt;  keepalive type none&lt;/P&gt;&lt;P&gt;  add ssl-proxy-list ssl_listxxxx&lt;/P&gt;&lt;P&gt;  active&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  content ssl-content&lt;/P&gt;&lt;P&gt;    vip address xxx.xxx.xxx.xxx&lt;/P&gt;&lt;P&gt;    port 443&lt;/P&gt;&lt;P&gt;    protocol tcp&lt;/P&gt;&lt;P&gt;    add service ssl-serxxxx&lt;/P&gt;&lt;P&gt;    application ssl&lt;/P&gt;&lt;P&gt;    advanced-balance ssl&lt;/P&gt;&lt;P&gt;    active&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  content backed-http-content&lt;/P&gt;&lt;P&gt;    add service http-content-1&lt;/P&gt;&lt;P&gt;    add service http-content-1&lt;/P&gt;&lt;P&gt;    protocol tcp&lt;/P&gt;&lt;P&gt;    port 80&lt;/P&gt;&lt;P&gt;    url "/webstuff*"&lt;/P&gt;&lt;P&gt;    advanced-balance sticky-srcip-dstport&lt;/P&gt;&lt;P&gt;    vip address xxx.xxx.xxx.xxx&lt;/P&gt;&lt;P&gt;    active&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks....John&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2004 07:49:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css11501-ssl-server-urlrewrite-not-working/m-p/385977#M6747</guid>
      <dc:creator>john.pepper</dc:creator>
      <dc:date>2004-09-24T07:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: CSS11501 ssl-server urlrewrite Not Working</title>
      <link>https://community.cisco.com/t5/application-networking/css11501-ssl-server-urlrewrite-not-working/m-p/385978#M6748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://www.cisco.com/en/US/products/hw/contnetw/ps789/products_configuration_example09186a00801de8d6.shtml" target="_blank"&gt;http://www.cisco.com/en/US/products/hw/contnetw/ps789/products_configuration_example09186a00801de8d6.shtml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look at the last example - redirect from http to https.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The urlrewrite command only affect the response from the server.&lt;/P&gt;&lt;P&gt;So it's not going to help you here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gilles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Sep 2004 06:57:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css11501-ssl-server-urlrewrite-not-working/m-p/385978#M6748</guid>
      <dc:creator>Gilles Dufour</dc:creator>
      <dc:date>2004-09-26T06:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: CSS11501 ssl-server urlrewrite Not Working</title>
      <link>https://community.cisco.com/t5/application-networking/css11501-ssl-server-urlrewrite-not-working/m-p/385979#M6749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gilles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again, this is great and I think what the customer wants.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing I'm not clear on here is the IP address used in the 'secure-transfer' service (ip address 2.2.2.2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this just s spoof ip address or should it be a valid server ip address.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers...John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********** SERVICE ***********&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;service secure-transfer&lt;/P&gt;&lt;P&gt;  ip address 2.2.2.2 &lt;/P&gt;&lt;P&gt;  keepalive type none &lt;/P&gt;&lt;P&gt;  type redirect &lt;/P&gt;&lt;P&gt;  no prepend-http &lt;/P&gt;&lt;P&gt;  domain &lt;A class="jive-link-custom" href="https://www.cisco.com" target="_blank"&gt;https://www.cisco.com&lt;/A&gt; &lt;/P&gt;&lt;P&gt;  active &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;service regular-server1 &lt;/P&gt;&lt;P&gt;  ip address 10.2.3.4  &lt;/P&gt;&lt;P&gt;  active  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;service regular-server2  &lt;/P&gt;&lt;P&gt;  ip address 10.2.3.5  &lt;/P&gt;&lt;P&gt;  active  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********* OWNER *********&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;owner CSS-Team &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  content default-redirect &lt;/P&gt;&lt;P&gt;    vip address 206.25.90.84 &lt;/P&gt;&lt;P&gt;    protocol tcp &lt;/P&gt;&lt;P&gt;    port 80 &lt;/P&gt;&lt;P&gt;    url "/*" &lt;/P&gt;&lt;P&gt;    add service secure-transfer &lt;/P&gt;&lt;P&gt;    active &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  content ssl-rule &lt;/P&gt;&lt;P&gt;    vip address 206.25.90.84 &lt;/P&gt;&lt;P&gt;    protocol tcp &lt;/P&gt;&lt;P&gt;    port 443 &lt;/P&gt;&lt;P&gt;    add service regular-server1 &lt;/P&gt;&lt;P&gt;    add service regular-server2 &lt;/P&gt;&lt;P&gt;    active&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Sep 2004 12:20:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css11501-ssl-server-urlrewrite-not-working/m-p/385979#M6749</guid>
      <dc:creator>john.pepper</dc:creator>
      <dc:date>2004-09-26T12:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: CSS11501 ssl-server urlrewrite Not Working</title>
      <link>https://community.cisco.com/t5/application-networking/css11501-ssl-server-urlrewrite-not-working/m-p/385980#M6750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the ip address can be whatever.&lt;/P&gt;&lt;P&gt;It's actually not being used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gilles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2004 14:01:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css11501-ssl-server-urlrewrite-not-working/m-p/385980#M6750</guid>
      <dc:creator>Gilles Dufour</dc:creator>
      <dc:date>2004-09-30T14:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: CSS11501 ssl-server urlrewrite Not Working</title>
      <link>https://community.cisco.com/t5/application-networking/css11501-ssl-server-urlrewrite-not-working/m-p/385981#M6751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gilles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You've been a great help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best...John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2004 22:37:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css11501-ssl-server-urlrewrite-not-working/m-p/385981#M6751</guid>
      <dc:creator>john.pepper</dc:creator>
      <dc:date>2004-09-30T22:37:20Z</dc:date>
    </item>
  </channel>
</rss>

