Received exception invoking a SSL secured service: SSLHandshakeException: Received fatal alert: handshake_failure

Solution Verified - Updated -

Issue

  • Calling a webservice provided by a vendor but getting javax.net.SSLHandshakeException: Received fatal alert: handshake_failure
  • Configuring ssl connector for web subsystem in standalone.xml has no affect for outbound web service:

    <subsystem xmlns="urn:jboss:domain:web:1.5" default-virtual-server="default-host" native="false">
        <connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true">
            <ssl password="example" certificate-key-file="${jboss.server.config.dir}/jboss.keystore" protocol="TLSv1,TLSv1.1,TLSv1.2" />
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 6
  • application deployed in EAP invoking a resource (e.g. web service or URL) secured with SSL

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