GITHUB ENTERPRISE GITLAB CE/EE
When connecting to a private HTTPS git repository, a problem may be caused by a custom (self-signed) certificate. See below for the steps to workaround this issue:
-
Configure the repository to disable verification of the SSL certificate:
-
Run
git config http.sslVerify false
in the repository folder.Example:
cd project.git git config http.sslVerify false
-
-
Add the repository via Connect wizard on the Manage Git repository page.
-
If there’s an SSL verification error, click Ignore certificate errors and continue connection.
-
Enter credentials on the following screen.
-
-
Click Connect and continue to the end to complete this setup.
There are alternative solutions to make Java trust this certificate. Refer to the good articles from Atlassian which focuses on helping to resolve SSL Verification Issues:
For related topics on connecting repositories from other git hosts, see Integration Guide.