Reputation: 65
I'm having a hard time setting up my git repository to be used in Jenkins.
I'm getting the following error:
SSL certificate problem: unable to get local issuer certificate
We use GitLab in our environment.
What I've tried:
I don't find any pages which can be of any help anymore.
Upvotes: 3
Views: 13278
Reputation: 154
Jenkins doesn't support GIT system configuration and GIT Global configuration. In my case, I added curl-ca-bundle.crt in GIT/bin directory.
I get it from Windows GIT. git --version git version 1.7.11.msysgit.0
and run below command to set https verification false.
git config --system http.sslVerify false
git config --global http.sslVerify false
Upvotes: 2