0

I have searched through many answers on how to clone visual studio code to private repository on GitHub, however I keep on receiving the same error.

error setting certificate verify locations
ca path none

I have tried following solutions to create a certificate and to change network provider to secure channel, but I still receive the same error!

Anyone has a clear guide to clone my code to GitHub PRIVATE repository?

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
Jane Cohen
  • 89
  • 1
  • 12

1 Answers1

1

As seen here, you should make sure your existing certificates included with Git For Windows are referenced in your global configuration:

git config --system http.sslcainfo /ssl/certs/ca-bundle.crt

That file is in the Git installation path, under:

  • ./mingw64/ssl/certs/ca-bundle.crt
  • ./usr/ssl/certs/ca-bundle.crt

Then, relaunch Visual Studio, and check if the error message persists.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250