Why camel https4 component with proxy authentication is not working properly ?

Solution Verified - Updated -

Issue

  • If I am trying to hit HTTPS URL directly using HTTPS It's able to connect and I am getting SSL handshake error -
<to uri="?httpConnectionManager.defaultMaxConnectionsPerHost=50&amp;throwExceptionOnFailure=false"></to>
  • Logs
2015-09-01 14:53:26,893 | ERROR |  #19 - Multicast | bny_proxy_v110                   | 1495 - org.apache.camel.camel-core - 2.15.1.redhat-620133 |       javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
        2015-09-01 14:53:26,909 | ERROR |  #19 - Multicast | DefaultErrorHandler              | 1495 - org.apache.camel.camel-core - 2.15.1.redhat-620133 |       Failed delivery for (MessageId: ID-SDGL726-56253-1441099158535-3-4 on ExchangeId: ID-SDGL726-56253-1441099158535-2-18). Exhausted after delivery        attempt: 1 caught: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
  • But if I am using HTTPS4 then it's not able to connect the server -
<to uri="https4://localhost?throwExceptionOnFailure=true&amp;proxyAuthHost=abc.com&amp;proxyAuthPort=80"/>
  • Can you please confirm if there is any issue with HTTPS4 with Proxy configuration?

Environment

  • Red Hat JBoss Fuse
    • 6.2.0

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