Loading

Cannot Negotiate TLSv1 or TLSv1.1 with Java Trying to Contact MuleSoft Applications

Дата публикации: Jan 9, 2026
Описание

When running a custom Java application to interact with Mulesoft applications, this error occurs:
 

Ignoring unavailable cipher suite: <Cipher Suite>
Ignoring unavailable cipher suite: <Cipher Suite>
...
Ignoring unsupported cipher suite: <Cipher Suite> for TLSv1
Ignoring unsupported cipher suite: <Cipher Suite> for TLSv1.1
...
*** ClientHello, TLSv1.2
...
Cipher Suites: [<List if Available Cipher Suites>]
...
http-8080-1, WRITE: TLSv1.2 Handshake, length = 101
http-8080-1, READ: TLSv1.2 Alert, length = 2
http-8080-1, RECV TLSv1.2 ALERT:  fatal, handshake_failure
http-8080-1, called closeSocket()
http-8080-1, handling exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
http-8080-1, IOException in getSession():  javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

Where <Cipher Suite> is a Cipher Suite and <List if Available Cipher Suites> is a list of Cipher Suites currently installed for the JVM to use.

Решение

When receiving the error that there is a fatal handshake failure with a MuleSoft application, Java should be updated with the latest TLS Cipher Suites.

"Ignoring unavailable cipher suite:" means the remote side wants to use this Cipher, however the local Java installation does not have the Cipher available.


"Ignoring unsupported cipher suite:" means the client side has the Cipher available, but is not supported by the remote site
"Cipher Suites:" lists the Cipher Suites installed on your JVM.

SOLUTION

Update the JVM which runs the custom Java application. It should be updated to use the latest TLS Cipher Suites. The method used to do this depends on the version of Java installed and the Operating System it is running on. Java 8 versions less than java 1.8.0_161 and below will cause issues with the default Cipher Suites.

Номер статьи базы знаний

001121325

 
Загрузка
Salesforce Help | Article