Cannot create a GIT/SVN project in TAC

Problem Description

When trying to create a new Git/SVN project in TAC it fails to connect to the repository, and existing projects have lost connectivity to the repositories.

 

This example uses the SSL enabled Git repository. Enabling the Debug mode in log4j shows the following error:

Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1964)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:328)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:322)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1614)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1052)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:987)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)

 

Root Cause

The SSL certificate was not imported into the cacerts file from $JAVA_HOME/jre/lib/security/, or into the keystore file.

 

Solution

To resolve the issue, import the SSL certificate.

 

For information on how to import SSL certificates, refer to the How to configure SSL-enabled Git or SVN with TAC and Studio article in the Talend Community Knowledge Base (KB).

Version history
Revision #:
5 of 5
Last update:
‎03-11-2019 05:38 AM
Updated by:
 
Contributors