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.

Error: Fatal: unable to access 'https://github.com/xxx.git/': schannel: The revocation function was unable to check revocation for the certificate.

See original GitHub issue

Why am i getting this?

Fatal: unable to access 'https://github.com/xxx.git/': schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:15
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

63reactions
shiftkeycommented, Jan 31, 2018

@RacheLev the issues you are encountering occurs when using Git on a network that blocks access to the revocation checks when verifying a SSL/TLS connection is secure.

I’m working on getting a fix into Git for Windows here: https://github.com/git-for-windows/git/pull/1450 and once that is fixed we’re tracking making this experience more friendly in #3326 to help with applying that fix. Please follow along with that issue for tracking the proper resolution.

To workaround this in the meantime, you can revert to the old OpenSSL behaviour:

$ git config --global http.sslBackend "openssl"
$ git config --global http.sslCAInfo [path to .pem file]

OpenSSL requires it’s own certificate file to use for validation, and this PEM file distributed by the cURL team should do the trick.

8reactions
RacheLevcommented, Jan 31, 2018

Thank you! Fixed it. Not getting the error anymore, but for some reason its not letting me click ‘commit to master’. Why is that? Thank you! בתאריך 31 בינו׳ 2018 4:06 לפנה״צ,‏ “Brendan Forster” < notifications@github.com> כתב:

@RacheLev https://github.com/rachelev the issues you are encountering occurs when using Git on a network that blocks access to the revocation checks when verifying a SSL/TLS connection is secure.

I’m working on getting a fix into Git for Windows here: git-for-windows/git#1450 https://github.com/git-for-windows/git/pull/1450 and once that is fixed we’re tracking making this experience more friendly in #3326 https://github.com/desktop/desktop/issues/3326 to help with applying that fix. Please follow along with that issue for tracking the proper resolution.

To workaround this in the meantime, you can revert to the old OpenSSL behaviour:

$ git config --global http.sslBackend “openssl” $ git config --global http.sslCAInfo [path to .pem file]

OpenSSL requires it’s own certificate file to use for validation, and this PEM file https://curl.haxx.se/docs/caextract.html distributed by the cURL team should do the trick.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/desktop/desktop/issues/3889#issuecomment-361799691, or mute the thread https://github.com/notifications/unsubscribe-auth/AgCfA7W8XAE3dE9fYRgO93Li3FN5NFXcks5tP8qLgaJpZM4RzPrb .

Read more comments on GitHub >

github_iconTop Results From Across the Web

github - Git - The revocation function was unable to check ...
Used to enforce or disable certificate revocation checks in cURL when http.sslBackend is set to "schannel". Defaults to true if unset. Only ...
Read more >
The revocation function is unable to check revocation ... - GitHub
I am running behind a corporation that self-signs its certificates, which means that I get this issue when I try to push any...
Read more >
Clone failed: The revocation function was unable to check ...
When Git is cloning the repository, it uses Windows' certificate store and crypto APIs to ensure the certificates are trusted. It sounds like ......
Read more >
Unknown error (0x80092012) - The revocation ... - GitHub
I get this: [Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.] er...
Read more >
I can no longer push my latest commit after the February 13 ...
fatal : unable to access 'Repo name': schannel: next InitializeSecurityContext failed: Unknown error (0x80092013) - The revocation function was ...
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