I am trying to make a camel cxc call to a rest endpoint. I've setup HTTPS 2WAY, which i've confirmed works by writing a simple java class, so i know its not a cert issue.
After some debugging it seems the 'TlsClientParameters' are not being set by CXF. I can see that they are always null when in the below class... http://grepcode.com/file/repo1.maven.org/maven2/org.apache.cxf/cxf-rt-transports-http/2.7.0/org/apache/cxf/transport/http/HTTPConduit.java?av=f#325 <http:conduit name="*.http-conduit"> <http:tlsClientParameters> <sec:keyManagers keyPassword="${http.keyManagers.password}"> <sec:keyStore type="JKS" password="${http.keyManagers.password}" file="${http.certs.location}/client-keystore.jks"/> </sec:keyManagers> <sec:trustManagers> <sec:keyStore type="JKS" password="${http.trustManagers.password}" file="${http.certs.location}/client-truststore.jks"/> </sec:trustManagers> <sec:cipherSuitesFilter> <sec:include>.*_WITH_3DES_.*</sec:include> <sec:include>.*_WITH_DES_.*</sec:include> <sec:exclude>.*_WITH_NULL_.*</sec:exclude> <sec:exclude>.*_DH_anon_.*</sec:exclude> </sec:cipherSuitesFilter> </http:tlsClientParameters> </http:conduit> <cxf:rsClient id="restProducer" address="${fuse.rest.transport}://${fuse.rest.host}:${fuse.rest.port}/rest/fuse" serviceClass="com.garethahealy.SomeClass"> <cxf:providers> <bean id="jacksonProvider" class="org.codehaus.jackson.jaxrs.JacksonJsonProvider"/> </cxf:providers> <cxf:properties> <entry key="loggingFeatureEnabled" value="${logging.isCxfDebug}"/> </cxf:properties> </cxf:rsClient> This is with Camel 2.12, CXF 2.7 - i am using the JBoss Fuse distro. Any idea why the TlsClientParameters are not being set... Cheers. -- View this message in context: http://cxf.547215.n5.nabble.com/Camel-CXF-HTTPS-http-tlsClientParameters-not-attaching-tp5755601.html Sent from the cxf-user mailing list archive at Nabble.com.
