<?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 Hi,The problem is here:class in Application Networking</title>
    <link>https://community.cisco.com/t5/application-networking/ace-ssl-terminator-doesn-t-work/m-p/2569554#M42391</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The problem is here:&lt;/P&gt;&lt;P&gt;class-map match-all example_IT_HTTPS-HTTP&lt;BR /&gt;&amp;nbsp; 2 match virtual-address 22.235.121.6 tcp eq www&lt;/P&gt;&lt;P&gt;You should change it to 443 instead of WWW which means port 80.&lt;/P&gt;&lt;P&gt;You will never match this class "example_IT_HTTPS-HTTP".&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kanwal&lt;/P&gt;&lt;P&gt;Note: Please mark answers if they are helpful.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Nov 2014 19:48:05 GMT</pubDate>
    <dc:creator>Kanwaljeet Singh</dc:creator>
    <dc:date>2014-11-07T19:48:05Z</dc:date>
    <item>
      <title>ACE SSL Terminator doesn't work</title>
      <link>https://community.cisco.com/t5/application-networking/ace-ssl-terminator-doesn-t-work/m-p/2569553#M42390</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I should implement a balancing HTTP and for HTTPS an&amp;nbsp; SSL terminator on my ACE.&lt;/P&gt;
&lt;P&gt;Public IP 22.235.121.6 port 80 --&amp;gt; balanced on 192.168.250.165-166 on port 8889&lt;/P&gt;
&lt;P&gt;Public IP 22.235.121.6 port 443 --&amp;gt; my ace terminate ssl and balance the traffic in clear text to 192.168.250.165-166 on port 8889&lt;/P&gt;
&lt;P&gt;This is the configuration:&lt;/P&gt;

&lt;PRE&gt;
probe http EXAMPLE_IT_HTTP
  port 8889
  interval 5
  faildetect 2
  passdetect interval 10
  passdetect count 2
  request method get url /probe/probe.html
  expect status 200 206
  expect status 300 307
  open 1
 
serverfarm host example_IT_HTTP
  failaction reassign across-interface
  predictor leastconns
  probe example_IT_HTTP
  fail-on-all
  rserver H-192.168.250.165 8889
    inservice
  rserver H-192.168.250.166 8889
    inservice
serverfarm host example_IT_HTTPS-HTTP
  failaction reassign across-interface
  predictor leastconns
  probe example_IT_HTTP
  fail-on-all
  rserver H-192.168.250.165 8889
    inservice
  rserver H-192.168.250.166 8889
    inservice

sticky ip-netmask 255.255.255.255 address both example-IT-HTTPS-HTTP
  timeout 60
  replicate sticky
  serverfarm example_IT_HTTPS-HTTP

ssl-proxy service SSL_example_IT
  key example_it.key
  cert example_it.cert
  chaingroup SSL_CHAIN_example_IT

crypto chaingroup SSL_CHAIN_example_IT
  cert example_it.ca

class-map match-all example_IT_HTTP
  2 match virtual-address 22.235.121.6 tcp eq www
class-map match-all example_IT_HTTPS-HTTP
  2 match virtual-address 22.235.121.6 tcp eq www

policy-map type loadbalance first-match example_IT_HTTP-l7slb
  class class-default
    serverfarm example_IT_HTTP
policy-map type loadbalance first-match example_IT_HTTPS-HTTP-l7slb
  class class-default
    sticky-serverfarm example-IT-HTTPS-HTTP

policy-map multi-match int41
  class example_IT_HTTP
    loadbalance vip inservice
    loadbalance policy example_IT_HTTP-l7slb
    loadbalance vip icmp-reply active primary-inservice
  class example_IT_HTTPS-HTTP
    loadbalance vip inservice
    loadbalance policy example_IT_HTTPS-HTTP-l7slb
    loadbalance vip icmp-reply active primary-inservice
    ssl-proxy server SSL_example_IT&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the balancing on http work properly, but doesn't work the ssl termination, when I try to connect from my client in https I don't see request on the server 192.168.250.165-166 coming.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some show:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE&gt;
balancer# sh crypto certificate all
example_it.cert:
Subject: /C=GB/ST=United Kingdom/L=London/O=XXXXXXXX/OU=XXXXXXXXX/CN=*.xxxx.com
Issuer: /C=US/O=Symantec Corporation/OU=Symantec Trust Network/CN=Symantec Class 3 Secure Server CA - G4
Not Before: Apr 11 00:00:00 2014 GMT
Not After: Apr 12 23:59:59 2015 GMT
CA Cert: FALSE

example_it.ca:
Subject: /C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c) 2006 VeriSign, Inc. - For authorized use only/CN=VeriSign Class 3 Public Primary Certification Authority - G5
Issuer: /C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c) 2006 VeriSign, Inc. - For authorized use only/CN=VeriSign Class 3 Public Primary Certification Authority - G5
Not Before: Nov&amp;nbsp; 8 00:00:00 2006 GMT
Not After: Jul 16 23:59:59 2036 GMT
CA Cert: TRUE

balancer# sh crypto session
SSL Session Cache Stats for Context     
------------------
Number of Client Sessions:                     0
Number of Server Sessions:                     0
balancer#&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE&gt;
balancer# sh crypto files
Filename                                 File  File    Expor      Key/
                                         Size  Type    table      Cert
-----------------------------------------------------------------------
cisco-sample-cert                        1082  PEM     Yes        CERT
cisco-sample-key                         887   PEM     Yes         KEY
example_it.ca                              7444  PEM     Yes        CERT
example_it.cert                            1812  PEM     Yes        CERT
example_it.key                             1675  PEM     Yes         KEY

balancer#
 
 
 
balancer# crypto verify example_it.key example_it.cert
Keypair in example_it.key matches certificate in example_it.cert.
balancer#&lt;/PRE&gt;

&lt;P&gt;the show stats crypto client/server give me all 0&lt;/P&gt;
&lt;P&gt;Someone can help me to understand why is not working ?&lt;/P&gt;
&lt;P&gt;for further information please ask me&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2014 09:25:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/ace-ssl-terminator-doesn-t-work/m-p/2569553#M42390</guid>
      <dc:creator>gianluca811</dc:creator>
      <dc:date>2014-11-07T09:25:03Z</dc:date>
    </item>
    <item>
      <title>Hi,The problem is here:class</title>
      <link>https://community.cisco.com/t5/application-networking/ace-ssl-terminator-doesn-t-work/m-p/2569554#M42391</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The problem is here:&lt;/P&gt;&lt;P&gt;class-map match-all example_IT_HTTPS-HTTP&lt;BR /&gt;&amp;nbsp; 2 match virtual-address 22.235.121.6 tcp eq www&lt;/P&gt;&lt;P&gt;You should change it to 443 instead of WWW which means port 80.&lt;/P&gt;&lt;P&gt;You will never match this class "example_IT_HTTPS-HTTP".&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kanwal&lt;/P&gt;&lt;P&gt;Note: Please mark answers if they are helpful.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2014 19:48:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/ace-ssl-terminator-doesn-t-work/m-p/2569554#M42391</guid>
      <dc:creator>Kanwaljeet Singh</dc:creator>
      <dc:date>2014-11-07T19:48:05Z</dc:date>
    </item>
    <item>
      <title>that's correct. I</title>
      <link>https://community.cisco.com/t5/application-networking/ace-ssl-terminator-doesn-t-work/m-p/2569555#M42392</link>
      <description>&lt;P&gt;that's correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed&lt;/P&gt;&lt;P&gt;class-map match-all example_IT_HTTPS-HTTP&lt;BR /&gt;&amp;nbsp; 2 match virtual-address 22.235.121.6 tcp eq www&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;class-map match-all example_IT_HTTPS-HTTP&lt;BR /&gt;&amp;nbsp; 2 match virtual-address 22.235.121.6 tcp eq https&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and now it is working&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2014 11:06:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/ace-ssl-terminator-doesn-t-work/m-p/2569555#M42392</guid>
      <dc:creator>gianluca811</dc:creator>
      <dc:date>2014-11-10T11:06:36Z</dc:date>
    </item>
  </channel>
</rss>

