How to configure camel-http component to use TLSv1.2 for outbound call
Issue
I am trying to use the JSSE utility to configure camel-http component to use TLSv1.2 for outbound call. I have configured the following in my camel blueprint xml file:
<camel:sslContextParameters id="mySslContext">
<camel:clientParameters>
<camel:secureSocketProtocols>
<camel:secureSocketProtocol>TLSv1.2</camel:secureSocketProtocol>
</camel:secureSocketProtocols>
</camel:clientParameters>
</camel:sslContextParameters>
However, outbound call still uses default TLSv1.1 instead.
If I change it to use camel-jetty component instead, the outbound call does use TLSv1.2:
<to uri="jetty:{{outboundURL}}?sslContextParametersRef=mySslContext&throwExceptionOnFailure=false&httpClient.soTimeout={{httpTimeout}}" />
How do I configure camel-http component to use TLSv1.2 for outbound call?
Environment
- JBoss Fuse
- 6.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.