“Unable to check revocation”: fix 0x80092013 and 0x80092012

Windows checks every certificate for revocation. If it cannot reach the CRL or the OCSP service, the connection fails with 0x80092013 or 0x80092012. This hits servers behind proxies, isolated networks and company CAs whose CRL is unreachable.

What the messages mean

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

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.

Sources and documentation