Security and hardening · Decision guide
Windows rejects an HTTPS connection because it cannot check certificate revocation
Short answer
CRYPT_E_REVOCATION_OFFLINE (0x80092013) means Windows could not download the CRL or OCSP answer that proves a certificate was not revoked, so it refused the connection. Run certutil -urlfetch -verify on the certificate from the failing account to see which URL is out of reach, then open that path, republish an internal CRL, or clear the cache.
The certificate itself is usually fine. Before Windows trusts it, CryptoAPI downloads the issuer's certificate revocation list (CRL) or asks its OCSP responder, from the addresses printed inside the certificate. When that download fails, Schannel treats "I could not check" as a failure, and curl, Git, IIS or a .NET service sees 0x80092013.
Which fix applies depends on who is failing. A Windows service and your own browser use different proxy settings; a company CA publishes its own CRL; curl and Git have switches of their own. Pick your case below, but run the one test first, because it names the URL that did not download.
Find your case
- If a service, IIS app pool or scheduled task fails while your browser on the same server worksThe system account cannot reach the CRL host; check its proxy.
- If every HTTPS call from a locked-down server fails, public sites includedOutbound HTTP to the CRL and OCSP hosts is blocked.
- If only certificates from your company's own CA failThe internal CRL has expired or was never published where the certificate says.
- If the CRL URL opens fine now, yet the error staysWindows is still using an old cached copy.
- If only curl or Git fail, and the network will stay closedUse the narrowest switch those tools offer.
The one test to run first
Export the server's certificate to a file (certificate viewer, Details, Copy to File, DER) and let certutil fetch every URL in it. Microsoft's certutil reference describes -urlfetch with -verify as retrieving the AIA issuer certificates and the CDP CRLs and verifying them. Run it as the same account that fails; for the SYSTEM account, Microsoft's own troubleshooting article starts a prompt with PsExec.
Fetch every revocation URL in the certificate
certutil -urlfetch -verify server.cer
rem as the SYSTEM account
psexec.exe -s -i cmd.exeRead the report for the line marked as failed: it names the CRL or OCSP address that could not be downloaded. That address is what the rest of this page is about.
A service account with a different proxy
Microsoft's article on this error lists an unreachable CRL location as the first cause and checks it from the system context, because services do not run in your user profile. Your browser may reach the CRL through a proxy you configured for yourself, while the service account has no proxy, a proxy that needs a login, or a script it cannot load.
Query the proxy values under HKEY_USERS\.DEFAULT and S-1-5-18 (the SYSTEM account). If they point at a proxy that requires user authentication, the service will never get through.
reg query "HKEY_USERS\S-1-5-18\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable
reg query "HKEY_USERS\S-1-5-18\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer
reg query "HKEY_USERS\S-1-5-18\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v AutoConfigURLA firewall that blocks CRL and OCSP hosts
Servers with an outbound allow-list often permit the API host and nothing else. The revocation URLs are separate hosts run by the certificate authority, usually over plain HTTP, so they are blocked even though HTTPS to the API is open. Add the hosts from the certutil report to the allow-list and rerun the test; repeat until every URL in the report downloads.
An internal CA with a stale CRL
Public sites work and only your own CA's certificates fail. Microsoft lists two causes here: a CRL that expired without a new one being published, and a CDP location that was never published at all. Republish with certutil -crl on the CA, then check in the CA's Extensions tab that the CDP location is a URL clients can reach.
A location added today only appears in certificates issued from now on. Certificates already out keep the old address, so the old path has to serve a valid CRL too, or those certificates must be reissued.
On the CA: publish a fresh CRL
certutil -crlA cached CRL that outlived the fix
CryptoAPI caches CRLs for their published lifetime. After the network or CA is fixed, a client can keep failing on its cached copy. Microsoft gives two commands: one tells the chain engine to resync its time-valid objects now, the other deletes the URL cache.
Flush both caches, then test again
certutil -setreg chain\ChainCacheResyncFiletime @now
certutil -urlcache * delete
certutil -urlfetch -verify server.cerSwitches in curl and Git
When the network team will not open the CRL hosts, switch off as little as possible. Both tools only consult these settings with the Schannel back end.
Narrow switches, then confirm
curl --ssl-revoke-best-effort https://example.com/
git config --global http.https://git.example.com/.schannelCheckRevoke false
git ls-remote https://git.example.com/team/app.git HEAD| Setting | What stops being checked | When it fits |
|---|---|---|
| `curl --ssl-revoke-best-effort` | Only failures caused by a missing or offline distribution point | Filtered networks; a revoked certificate is still refused |
| `curl --ssl-no-revoke` | All revocation checks | One-off diagnosis; the curl manual warns it loosens TLS security |
| `http.<url>.schannelCheckRevoke false` | Revocation checks for one Git host | A Git server whose CRL host you cannot reach |
| `http.schannelCheckRevoke false` | Revocation checks for every Git host | Avoid; it hides the problem everywhere |
In short
- 0x80092013 is a failed download of revocation data, not a bad certificate.
certutil -urlfetch -verify, run as the failing account, names the URL.- Fix the path, the CRL or the cache before reaching for a switch.
- If you must switch, prefer best-effort in curl and a per-host setting in Git.
Sources
How was this page made?
I drafted this page with AI assistance from the official documents listed under Sources. I have not reproduced this fix on a machine of my own yet, so read it as documented guidance, not a test report. Found a mistake? Tell me.