Lesstep
Azure DevOps Services and Server · Git over HTTPS on Windows · Checked November 22, 2026

Git for Windows: "The revocation function was unable to check revocation for the certificate" (0x80092012)

Git for Windows, when it uses the Windows TLS stack (Schannel), asks whether the server's certificate has been revoked. The question is answered at web addresses written inside the certificate. On a company network those addresses are often blocked, so Windows cannot get an answer and the connection ends before Azure DevOps sees a token. Find out which addresses the certificate lists (certutil -urlfetch -verify) and have them opened; if that is not possible, http.schannelCheckRevoke switches the check off for one server.

What it looks like

fatal: unable to access 'https://tfs.example.com/tfs/DefaultCollection/Project/_git/repo/': schannel: next InitializeSecurityContext failed: CRYPT_E_NO_REVOCATION_CHECK (0x80092012) - The revocation function was unable to check revocation for the certificate.

Older Git for Windows versions print Unknown error (0x80092012) in place of the code's name. The same text also appears with Azure DevOps Services (dev.azure.com), mostly behind a proxy or a security product that looks into HTTPS. If the message is instead SEC_E_UNTRUSTED_ROOT or "unable to get local issuer certificate", the server's certificate is not trusted at all: unable to get local issuer certificate.

The IDE does not use Git's TLS settings: Azure DevOps Pull Requests, a plugin for JetBrains IDEs, sends its requests through the IDE's own proxy and certificate settings, so it can work while Git fails with this message.

1. Check that Git uses Schannel

git config --show-origin --get http.sslBackend

The message names Schannel, so this should print schannel. The Git manual describes http.schannelCheckRevoke as the setting that enforces or disables the revocation check when http.sslBackend is schannel, and says it is only for the case where Git "consistently errors and the message is about checking the revocation status of a certificate" (git-config).

The git-config page installed with Git for Windows (2.53) names a third value, best-effort, as its default: revocation is still checked, but a revocation server that cannot be reached, or a certificate that names none, is not an error. The page on git-scm.com, written for Git in general, says the default is true. So if a current Git for Windows still stops with this message, look for a true set somewhere, and the file that sets it:

git config --show-origin --get-all http.schannelCheckRevoke

2. Confirm that revocation is the cause

Run curl twice against the same address. Use curl.exe with the extension, because plain curl in Windows PowerShell 5.1 is an alias for another command. This works when curl --version lists Schannel:

curl.exe -I https://tfs.example.com/tfs/
curl.exe --ssl-no-revoke -I https://tfs.example.com/tfs/

If the first line fails with 0x80092012 and the second one gets an answer (an HTTP status line, even a 401), the only thing in the way is the revocation check (--ssl-no-revoke is described in the curl manual). Use your own server's address. For Azure DevOps Services use https://dev.azure.com/<organization>.

3. See which addresses Windows tries

Open the server address in a browser, view the certificate and export it as a Base-64 file, for example server.cer. Then run:

certutil -urlfetch -verify server.cer

-urlfetch makes certutil retrieve and verify the issuer certificates (AIA) and the revocation lists (CDP) the certificate points to (certutil, Microsoft Learn). The output lists each address and whether it could be reached. Those are the addresses a proxy or firewall has to allow for this computer, or for the server's own certificate infrastructure to be fixed by whoever runs it. If the certificate comes from your company's own CA, its administrator owns the revocation list; if the list has expired or its address no longer answers, only they can repair it.

4. Let the addresses through

Give the network team the addresses from step 3 exactly as the output shows them, including scheme and port. A rule that only allows HTTPS on port 443 does not cover an address that starts with http://. When the proxy needs a login, Git needs it as well: Received HTTP code 407 from proxy.

5. Last resort: switch the check off for one server

Settings can be limited to a URL (http.<url>.*, git-config). Keep this one to the server you trust. Try best-effort first; it keeps the check and ignores only a revocation server that cannot be reached:

git config --global http.https://tfs.example.com/.schannelCheckRevoke best-effort

If the message stays, false switches the check off for that server:

git config --global http.https://tfs.example.com/.schannelCheckRevoke false

With this setting Git accepts a certificate that has been revoked, as long as the rest of the chain is valid. Do not set it without the URL, and take it out when the network is fixed:

git config --global --unset http.https://tfs.example.com/.schannelCheckRevoke

Then try the command again:

git ls-remote https://tfs.example.com/tfs/DefaultCollection/Project/_git/repo

In the IDE

Azure DevOps Pull Requests, a plugin by Lesstep for JetBrains IDEs 2024.1 or later and Android Studio, sends its requests through the IDE's HTTP Proxy and certificate settings, not through Git. When the IDE does not trust a server's certificate, the plugin says "The IDE does not trust the certificate of ..." and names Settings | Appearance & Behavior | System Settings | Server Certificates (before IDE 2025.2: Settings | Tools | Server Certificates), where you can add your company's certificate or accept it when the IDE asks. Git's own fetch, pull and push in the IDE use Git's settings above, so the plugin can work while Git fails with 0x80092012. The review inbox is free; voting, commenting and completing are Pro, with a 30-day trial.

Get it on JetBrains Marketplace

Azure DevOps is a trademark of Microsoft Corporation; IntelliJ IDEA and Rider are trademarks of JetBrains s.r.o. This page is not affiliated with or endorsed by Microsoft or JetBrains.

More: Azure DevOps Server "unable to get local issuer certificate" · Received HTTP code 407 from proxy · Git "Authentication failed" · 日本語

Sources