You are using Camel HTTP4 component, and this component implements
SSLContextParametersAware interface (see
http://camel.apache.org/camel-configuration-utilities.html ). So I think you
could configure your SSL Context like this (Spring xml syntax):
<camel:sslContextParameters id="mySSLContextParameters">
<camel:trustManagers>
<camel:keyStore password="fancypass"
resource="my-keystore-with-self-signed-certs.jks" />
</camel:trustManagers>
<camel:serverParameters clientAuthentication="NONE" />
</camel:sslContextParameters>
An then
https4://XXXXX:443/rest/Session/login?httpClientConfigurer=#httpconfigure&sslContext=#mySSLContextParameters
Disclaimer: I didn't try with your configurer. Just pointing to regular way
of configuring SSL in many Camel components
HTH
--
View this message in context:
http://camel.465427.n5.nabble.com/Ignoring-self-signed-certificates-in-camel-2-17-2-tp5805066p5807056.html
Sent from the Camel - Users mailing list archive at Nabble.com.