What the messages mean
- 0x80092013 (CRYPT_E_REVOCATION_OFFLINE): “The revocation function was unable to check revocation because the revocation server was offline.” The address in the certificate was unreachable.
- 0x80092012 (CRYPT_E_NO_REVOCATION_CHECK): “The revocation function was unable to check revocation for the certificate.” Known from curl.exe, Git for Windows and PowerShell.
Every certificate states where its revocation information lives: a CRL (extension “CRL Distribution Points”) and usually an OCSP service (extension “Authority Information Access”). Both almost always run over HTTP on port 80, even for HTTPS certificates. That is exactly what many firewalls block.
Typical causes
- The firewall only allows port 443 outbound; the revocation addresses use port 80.
- The proxy is configured for users only. Services run as SYSTEM or a service account and use the WinHTTP proxy, which is empty.
- The proxy requires authentication the service account cannot do.
- Own CA: the CRL has expired, or the distribution point points to an old server.
Find the failing address
# Get the server certificate (or save it from the SSL check) and verify it certutil -urlfetch -verify server.cer # Show the proxy used by services netsh winhttp show proxy
certutil -urlfetch -verify fetches every CRL and OCSP address in the chain and shows “Verified” or the error per address. The addresses are in the certificate extensions; the SSL check shows them without a command line.
Fixes
Open the network: allow HTTP (port 80) to the revocation addresses of the CAs in use. Host names such as crl.globalsign.com, ocsp.digicert.com or ocsp.sectigo.com are in the certificates.
Set the proxy for services:
netsh winhttp set proxy proxy.corp.local:8080 "<local>;*.corp.local" :: or take over the setting of the logged-on user netsh winhttp import proxy source=ie
Own CA: republish the CRL and check its validity. If the distribution point is on a decommissioned server, the only fix is a new certificate with the right address or moving the CRL to the old address.
:: on the certification authority certutil -crl :: view a CRL’s validity (Next Update) certutil -dump ca.crl
curl, Git and PowerShell
curl.exe and Git for Windows use Schannel and check strictly by default. If revocation checks are impossible in your network and you accept the risk:
curl --ssl-revoke-best-effort https://internal.example/ git config --global http.schannelCheckRevoke false
--ssl-revoke-best-effort only ignores unreachable revocation servers; a revoked certificate is still rejected. That is better than --ssl-no-revoke, which switches the check off completely.
Slow program starts in isolated networks
Windows also checks signed programs for revocation. If these fetches go nowhere, Windows waits for the timeout every time. That shows up as program starts delayed by 15 seconds. In isolated networks an internal mirror of the CRLs helps, or a shorter timeout via the Group Policy “Certificate Path Validation Settings” (tab “Network Retrieval”).
FAQ
Can’t I just switch off revocation checking?
Technically yes, but then nobody notices when a certificate is revoked after a key theft. For individual tools in the internal network that is acceptable; for servers with internet connections it is not.
Why does it work in the browser but not in the service?
The browser uses the logged-on user’s proxy. Services run under another account and use the WinHTTP proxy, which is often empty.
Is OCSP enough if the CRL is blocked?
Usually yes. Windows tries OCSP first if the certificate names an OCSP address. For intermediates some CAs only use CRLs, so it is better to allow both addresses.