Error setting certificate verify locations-Github: error cloning my private repository

545    Asked by ConnorPeake in SQL Server , Asked on Jun 20, 2021

 I'm trying to clone my GitHub project using the https-URL, but it fails with an error “error setting certificate verify locations git”:

$ git clone https://foo@github.com/foo/foo-private.git

Cloning into foo-private...

Password:

error: error setting certificate verify locations:

  CAfile: /bin/curl-ca-bundle.crt

  CApath: none

 while accessing https://foo@github.com/foo/foo-private.git/info/refs

fatal: HTTP request failed

Don’t know why getting error and whats going wrong?

Answered by Diane Carr

Your Answer

Interviews

Parent Categories