question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

fatal: unable to access curl-ca-bundle.crt

See original GitHub issue

Description

GitHub Desktop updated itself today to 1.2.2. Since then any time I try to push, to any repo, I get a fatal warning error dialog appear saying: “fatal: unable to access (github repo url): schannel: failed to open CA file (AppData path to 1.2.2/resources/app/git/mingw64/bin/curl-ca-bundle.crt`: No such file or directory.”

I checked and the file doesn’t exist in that folder, or in any previous version folder (i.e. 1.2.1, 1.2.0).

Version

  • GitHub Desktop: 1.2.2
  • Operating system: Microsoft Windows [Version 10.0.17134.48]

Steps to Reproduce

Push to any GitHub hosted repo, public or private.

Expected Behavior

It should push without erroring.

Actual Behavior

fatal error dialog appears.

Additional Information

No updates to Windows have taken place. Was working fine earlier today before it updated to 1.2.2.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:12
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

19reactions
wieslawsoltescommented, May 31, 2018

@shiftkey Thanks it helped: Removed:

[http]
	sslCAinfo = /bin/curl-ca-bundle.crt

from:

C:\ProgramData\Git\config
9reactions
shiftkeycommented, May 31, 2018

@photonstorm @wieslawsoltes can you open a shell, run this command and attach the output?

$ git config -l --show-origin

I believe your issues is the same as https://github.com/desktop/desktop/issues/4832, because of an entry that looks like this:

file:"C:\ProgramData/Git/config" http.sslcainfo=/bin/curl-ca-bundle.crt

This entry is no longer valid (Git installations should not be adding this entry to this file) and removing it should address the issue for Desktop.

Read more comments on GitHub >

github_iconTop Results From Across the Web

github for windows - Unable to pull/push in git repository
Just in the same directory,you can find folder "usr",open it and goes to \ssl\certs,you can find the certificate:ca-bundle.crt. Then open ...
Read more >
Certificate error when importing an external repository into ...
Resolution: ; git config --system http.sslCAPath /absolute/path/to/git/certificates ; = /bin/curl-ca-bundle.crt ; git config --global http.
Read more >
Unable to sync to vs repository after latest VS Update
Error encountered while cloning the remote repository: Git failed with a fatal error. unable to access '': error setting certificate verify locations:
Read more >
Troubleshooting SSL - GitLab Docs
This error indicates the client cannot get the root CA. To fix this, you can either trust the root CA of the server...
Read more >
Quick fix to Git's fatal 'unable to access SSL certificate' error
Unable to access SSL certificate fix ... That will turn off SSL during the git clone operation and allow you to push and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found