Description

This page will help you to troubleshoot GIT extraction failing with the below error :

ERROR Network transport exception occurred while operating on remote GIT repository. Please check remote URL string and try again: https://xxxxx/git/cap.
org.eclipse.jgit.api.errors.TransportException:https://xxxxx/git/cap: cannot open git-upload-pack
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:139)
..
Caused by org.eclipse.jgit.errors.TransportException:https://xxxxx/git/cap: cannot open git-upload-pack
..
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

Observed in CAST AIP


Release
Yes/No
8.2.x (tick)
8.1.x (tick)
8.0.x (tick)
7.3.x (tick)
Observed on RDBMS
RDBMS
Yes/No
Oracle Server (tick)
Microsoft SQL Server (tick)
CSS2 (tick)
Step by Step Scenario

Below is the step-by-step scenario leading to the problem:

  1. Download the GIT DMT extension
  2. Open the DMT and run the GIT Packaging
  3. It is failing at the Extraction step.

  

Action Plan

Whenever Java attempts to connect to another application over SSL (e.g.: HTTPS, IMAPS, LDAPS), it will only be able to connect to that application if it can trust it. The way trust is handled in the Java world is that you have a keystore (typically $JAVA_HOME/lib/security/cacerts), also known as the truststore. 

This contains a list of all known Certificate Authority (CA) certificates, and Java will only trust certificates that are signed by one of those CAs or public certificates that exist within that keystore. 

  1. Check if your certificate is signed by one of the Certificate Authority certificates.

  

Notes/comments
Ticket # 7754
Related Pages