Error Setting Certificate Verify Locations Cygwin
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Github: error cloning my private repository up vote 67 down vote favorite 23 I'm trying to clone my GitHub project using the https-URL, but it fails with an error: $ 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 What am I doing wrong? git github share|improve this question asked Sep 23 '10 at 11:51 Mot 8,0021451100 add a comment| 16 Answers 16 active oldest votes up vote 147 down vote accepted I have seen this on Windows, with msysgit 1.7.2.3. You have to fix the path to bin/curl-ca-bundle.crt. I had to specify the absolute path, using back-slashes: git config --system http.sslcainfo "C:\Program Files (x86)\git\bin\curl-ca-bundle.crt" or — not really recommended — you may choose to switch off SSL checks completely by executing: git config --system http.sslverify false For both cases, this will result in changes to [git-install-dir]/etc/gitconfig file, which may be edited directly, too. (Original solutions found at http://github.com/blog/642-smart-http-support) share|improve this answer answered Sep 23 '10 at 12:17 mstrap 7,04152754 In
Error setting certificate verify locations From: Tae Lim Kook
Error setting certificate verify locations From: Tae Lim Kook
command //To Clone existing repository project git clone https://account@github.com/account/someproject.git // To Push/transfer/copy changing modified local repository to master project git push https://account@github.com/account/ someproject.git But, sometimes we found error like below. I got this error when I tried clone our repo master into my Windows desktop: error: error setting certificate verify locations: CAfile: /bin/curl-ca-bundle.crt CApath: none while accessing https://account@github.com/account/someproject.git That problem seems to occur because of wrong path location of curl-ca-bundle.crt. Git assume that file is in /bin directory, whereas the correct location in windows is C:\Program Files\Git\bin\. So, we can solve this error with several approaches: Copy C:\Program Files\Git\bin\curl-ca-bundle.crt to c:\bin\curl-ca-bundle.crt Set http.sslcainfo to the absolute path of the curl-ca-bundle.crt file in your msysGit install’s bin folder git config --system http.sslcainfo \bin/curl-ca-bundle.crt Disable ssl verification git config --global http.sslverify "false" Using this command git clone git@github.com:account/someproject.git If there is a http proxy we can set the proxy via the following command: git config --global http.proxy http://proxy:8080 // To check the proxy settings git config --get http.proxy Thax to Mr Leonardo S. Share this:FacebookLinkedInGoogleTwitterLike this:Like Loading... Related This entry was posted in WEB, Windows. Bookmark the permalink. Post navigation ← Install Mysql manually with tar file(Ubuntu) How to Connect xampp for Windows (PHP 5.4.x) to MSSQL 2008 R2 - Part1 → 2 thoughts on “Problem Solving GIT Error Setting Certificate VerifyLocations” Profil says: on 30 March 2016 at 6:13 PM Yes, the problem is wrong certificate file destination. Cool, now works, thank you!🙂 LikeLike Reply Fuad Abdul Zabar says: on 11 April 2016 at 9:49 AM you are welcome LikeLike Reply Leave a Reply Cancel reply Enter your comment here... Please log