2

Facing an error while fetching Git repo using jenkins with HTTPS. I used personal access token for https to clone the repo instead of ssh

The Error is stderr: fatal: unable to access git and my repo..server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

Image attached below with error

enter image description here

sticky bit
  • 36,626
  • 12
  • 31
  • 42
  • 1
    Looks like the server is not using an official ssl certificate. – PowerStat Apr 09 '19 at 10:59
  • this issue is with only while I am using https but not with shh..How to solve this?? – Abhilash Reddy Bommareddy Apr 09 '19 at 11:29
  • 2
    Please have a look at: https://stackoverflow.com/questions/21181231/server-certificate-verification-failed-cafile-etc-ssl-certs-ca-certificates-c – PowerStat Apr 09 '19 at 11:31
  • 2
    Possible duplicate of [server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none](https://stackoverflow.com/questions/21181231/server-certificate-verification-failed-cafile-etc-ssl-certs-ca-certificates-c) – PowerStat Apr 09 '19 at 11:31

0 Answers0