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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content