How to configure camel-http component to use TLSv1.2 for outbound call

Solution In Progress - Updated -

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&amp;throwExceptionOnFailure=false&amp;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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.