tRestClient: SSL issue - Received fatal alert: internal_error

Talend Version (Required)       6.2.1

Summary

Calling a secure RESTful web service fails with Received fatal alert: internal_error.
Additional Versions 6.3.1
Product (Required) ESB
Component (Required) Runtime
Problem Description

You get the following error when invoking a public ResftFul web service using HTTPS:

Caused by: javax.net.ssl.SSLException: Received fatal alert: internal_error
Problem root cause

Bug in the JDK:

https://bugs.openjdk.java.net/browse/JDK-8144566

Solution or Workaround

Solution

Upgrade to Talend version 6.4.1.

 

Workaround

Alternatively, this would work if deployed in Runtime by editing etc/org.apache.cxf.http.conduits-*.cfg to remove tlsClientParameters.disableCNCheck (if it's specified) and replace it with tlsClientParameters.useHttpsURLConnectionDefaultHostnameVerifier = true. Also comment out all of the lines starting with tlsClientParameters.trustManagers if the server CA certificate is already in the JVM's own truststore.

JIRA ticket number TESB-18565
Version history
Revision #:
4 of 4
Last update:
‎09-12-2017 07:31 PM
Updated by:
 
Labels (2)
Contributors
Tags (1)