Sunday 9 September 2012

Git error about missing ca-bundle.crt on Cygwin

If you get the following error:
$ git push -u origin master
error: error setting certificate verify locations:
  CAfile: /usr/ssl/certs/ca-bundle.crt
   [...]
when pushing, cloning, or any other operation that requires https access, the problem is that cygwin hasn't installed the ca-certificates package. Run the cygwin installer again, and add that package; after that git should start working.

14 comments:

  1. It worked for me, Thanks!

    ReplyDelete
  2. Thanks you save my day

    ReplyDelete
  3. Yet another big thanks! Happy coding!

    ReplyDelete
  4. This fixed the error, Thanks!!

    ReplyDelete
  5. Sweet!! thank God for random internet blogs and google!

    ReplyDelete
  6. Post is still serving - thanks for putting it up.

    ReplyDelete
  7. Awesome! Works like a charm.

    ReplyDelete
  8. I already have ca-bundles installed but git is still not working.

    ReplyDelete
  9. I already have ca-bundles installed but git is still not working.

    ReplyDelete