title: Unable to connect SSL webservice with cxf http-conduit
body: <p>I am trying to connect to a SOAP webservice and need to provide a cert for authentication.  I am currently using the cxf http conduit to locate my certificate.  I received a p12 file from the service I am wanting to call.  I have imported the p12 into a jks.  I put the jks in the class path along with my cxf.xml page.  I've modified my web.xml to contain the context-param and the listener-class, but I am still getting logs from the server saying no certificate provided.  I've looked all over for solutions but nothing has worked this far. Any help is greatly appreciated </p>
  
  <p>CXF.XML</p>
  
  <pre><code>&lt;beans xmlns="http://www.springframework.org/schema/beans"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:sec="http://cxf.apache.org/configuration/security"
         xmlns:http="http://cxf.apache.org/transports/http/configuration"
         xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
         xsi:schemaLocation="
        http://cxf.apache.org/configuration/security
        http://cxf.apache.org/schemas/configuration/security.xsd
        http://cxf.apache.org/transports/http/configuration
        http://cxf.apache.org/schemas/configuration/http-conf.xsd
        http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"&gt;
  
      &lt;http:conduit name="*.http-conduit"&gt;
  
          &lt;http:tlsClientParameters&gt;
              &lt;sec:keyManagers keyPassword="changeit"&gt;
                  &lt;sec:keyStore type="JKS" password="changeit"
                                resource="myKeystore.jks"
                               /&gt;
              &lt;/sec:keyManagers&gt;
              &lt;sec:trustManagers&gt;
                  &lt;sec:keyStore type="JKS" password="changeit"
                                resource="myKeystore.jks"/&gt;
              &lt;/sec:trustManagers&gt;
              &lt;sec:cipherSuitesFilter&gt;
                  &lt;!-- these filters ensure that a ciphersuite with
                       export-suitable or null encryption is used,
                       but exclude anonymous Diffie-Hellman key change as
                       this is vulnerable to man-in-the-middle attacks --&gt;
                  &lt;sec:include&gt;.*_EXPORT_.*&lt;/sec:include&gt;
                  &lt;sec:include&gt;.*_EXPORT1024_.*&lt;/sec:include&gt;
                  &lt;sec:include&gt;.*_WITH_DES_.*&lt;/sec:include&gt;
                  &lt;sec:include&gt;.*_WITH_AES_.*&lt;/sec:include&gt;
                  &lt;sec:include&gt;.*_WITH_NULL_.*&lt;/sec:include&gt;
                  &lt;sec:exclude&gt;.*_DH_anon_.*&lt;/sec:exclude&gt;
              &lt;/sec:cipherSuitesFilter&gt;
          &lt;/http:tlsClientParameters&gt;
  
          &lt;http:client AutoRedirect="true" Connection="Keep-Alive"/&gt;
  
      &lt;/http:conduit&gt;
  
  &lt;/beans&gt;
  </code></pre>
  
  <p>WEB.XML</p>
  
  <pre><code>     &lt;context-param&gt;
          &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
          &lt;param-value&gt;classpath:cxf.xml&lt;/param-value&gt;
      &lt;/context-param&gt;
       &lt;listener&gt;
       &lt;listener-class&gt;
          org.springframework.web.context.ContextLoaderListener
       &lt;/listener-class&gt;
    &lt;/listener&gt;
  </code></pre>