How to enable TLS 1.2 for Java 7 on JBoss EAP 6?

Solution Verified - Updated -

Issue

We are using JBoss Application Server 6.4.7 with Java 7v79. We are trying to enable TLS 1.2 but we receive the following stack trace:

An error occured creating document at the external provider.: java.lang.IllegalStateException: Can't overwrite cause with javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: Received fatal alert: protocol_version
        at java.lang.Throwable.initCause(Throwable.java:456) [rt.jar:1.7.0_79]
...
Caused by: javax.net.ssl.SSLException: Received fatal alert: protocol_version
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) [jsse.jar:1.7.0_79]

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.x

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