Thank you for your respond.
Below is how it can be done.
public MyHttpClientConfigurer implements HttpClientConfigurer{
void configureHttpClient(org.apache.http.impl.client.HttpClientBuilder
clientBuilder){
SSLContext sslContext = SSLUtilityFactory.createSSLContext();
clientBuilder.setSSLContext(sslContext);
}
<bean id="myHttpClientConfigurer" class="MyHttpClientConfigurer"/>
<to
uri="https4://myhostname.com:443/myURL?httpClientConfigurer=myHttpClientConfigurer"/>
-----
Alireza Salemi
--
View this message in context:
http://camel.465427.n5.nabble.com/http-client-javax-net-ssl-SSLHandshakeException-Received-fatal-alert-handshake-failure-tp5761469p5761706.html
Sent from the Camel - Users mailing list archive at Nabble.com.