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();
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:
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
Hi All,
I am getting the following exception when I use https4 as followed below:
to
uri={{https.url}}?authUsername=adminamp;authPassword=Admin01$amp;authMethod=Basicamp;x509HostnameVerifier=allowAllHostnameVerifier/
javax.net.ssl.SSLHandshakeException: Received fatal alert: