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
Release | Yes/No |
---|---|
8.2.x | |
8.1.x | |
8.0.x | |
7.3.x |
RDBMS | Yes/No |
---|---|
Oracle Server | |
Microsoft SQL Server | |
CSS2 |
Below is the step-by-step scenario leading to the problem:
- Download the GIT DMT extension
- Open the DMT and run the GIT Packaging
- It is failing at the Extraction step.
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.
- Check if your certificate is signed by one of the Certificate Authority certificates.