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 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.