You can setup the sslContext by implementing a HttpClientConfigurer[1].

[1]https://camel.apache.org/http4#HTTP4-ConfiguringApacheHTTPClientDirectly

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On January 10, 2015 at 2:53:00 PM, salemi (sal...@avaya.com) wrote:
> Hi,
> Thanks for your respond. My problem is that I am running in a container and
> there is api that return the sslcontext to me and I have to use the provided
> sslcontext. See the code below.
>  
> SSLContext sslContext = SSLUtilityFactory.createSSLContext();
>  
> How can I tell https4 to use the sslcontext provided?
>  
> Thanks,
> Ali
>  
>  
>  
>  
> -----
> Alireza Salemi
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/http-client-javax-net-ssl-SSLHandshakeException-Received-fatal-alert-handshake-failure-tp5761469p5761538.html
>   
> Sent from the Camel - Users mailing list archive at Nabble.com.
>  

Reply via email to