跳到主要内容
基础知识

net::err_cert_revoked: Why Chrome Blocks Revoked Certificates and How to Fix It

核心结论

net::err_cert_revoked is Chrome's hard-fail error for a certificate whose serial is listed as revoked in a CRLSet, CRL, or OCSP response; replace the revoked leaf or intermediate, fix the served chain, and re-check OCSP/CRL before reloading the load balancer. Check the served serial with `openssl s_client -connect example.com:443 -servername example.com -showcerts | openssl x509 -noout -serial -issuer -dates`; a mismatch across A records means one node still serves the revoked certificate. Nginx needs `ssl_stapling on; ssl_stapling_verify on; ssl_trusted_certificate /path/chain.pem; resolver 1.1.1.1 8.8.8.8 valid=300s;`; defaults are `ssl_stapling off` and no resolver, so stapling silently fails. Let's Encrypt certificates are free and valid 90 days; reissue with `certbot renew --force-renewal` (rate limit 50 certificates per registered domain per week per Let's Encrypt docs) and deploy via `--deploy-hook`. Commercial DV reissues commonly take 15-60 minutes and cost $10-$100/year; OV/EV validation can take 1-3 business days and $50-$1,000+/year.

What Does net::err_cert_revoked Mean and What Triggers It in Chrome?

net::err_cert_revoked is Chrome’s network stack refusing to finish a TLS handshake because its certificate verifier matched a certificate in the served chain — the leaf or an intermediate — against a revocation record. Unlike ERR_CERT_DATE_INVALID, this is a hard fail: the interstitial offers no “Proceed anyway” link, so there is nothing for the user to click through.

How Chrome learns a certificate is revoked matters for debugging. Per Chromium’s certificate verification documentation, Chrome does not perform a live OCSP fetch for every TLS connection. Instead it relies on a CRLSet — a compressed, Google-maintained list of revoked serial numbers and SPKI hashes refreshed by the component updater — plus stapled OCSP responses and any CRL the verifier can obtain locally.

Mechanism Transport Freshness Chrome behavior
CRLSet Component updater push Hours; not real-time Authoritative, hard-fail
CRL (RFC 5280 §5) HTTP download of issuer’s list Until nextUpdate Used when available; often soft-fail
OCSP (RFC 6960) POST/GET to responder Per-response nextUpdate Not fetched per connection
OCSP stapling In the handshake (status_request) Server-chosen Verified when stapled
CRLite Aggregated Bloom filters (Firefox) Daily-ish Not used by Chrome

Because matching is by issuer plus serial number, inspect the entire chain before assuming the leaf is at fault. A revoked intermediate breaks every leaf beneath it, which is why a site can start failing after a completely unrelated CA incident.

# Dump the chain Chrome sees, with serials and issuers
openssl s_client -connect example.com:443 -servername example.com -showcerts </dev/null 2>/dev/null 
  | openssl x509 -noout -serial -issuer -subject -dates

# Check whether a serial appears on the issuer's CRL
openssl crl -in issuer.crl -noout -text | grep -i -A2 'Serial Number'

Typical triggers are private-key compromise, CA misissuance, domain-validation fraud, and deliberate revocation after a certificate is replaced. Revoking is permanent — issuing a replacement never un-revokes the old serial:

certbot revoke --cert-path /etc/letsencrypt/live/example.com/cert.pem 
  --reason keycompromise   # certbot 2.x; other reasons: superseded, affiliationchanged, cessationofoperation, unspecified

Revocation is not expiry. An unexpired certificate can still be revoked, and Chrome reports net::err_cert_revoked rather than net::err_cert_date_invalid. The fix is to replace the certificate and correct every edge that still serves the revoked one — and if the site sends HSTS, the failure gets louder because Chrome refuses the HTTP fallback entirely.

How Do You Diagnose net::err_cert_revoked Step by Step?

Reproduce it first, then collect evidence — in that order. Note the exact host, full URL, and UTC timestamp of the failure, because Chrome’s NetLog and your CA’s ticket system both key off that window. Open chrome://net-export, tick Include raw bytes if you can afford the file size, click Start Logging to Disk, then reload the failing URL until net::err_cert_revoked appears. Stop the capture and open the .json in the NetLog viewer; search for VERIFY_CERTIFICATE and CertVerifyResult events. The revocation_check_result field tells you whether Chrome’s built-in CRLSet or a live OCSP/CRL fetch produced the decision — this is the single most useful distinction in the whole investigation. Record the leaf serial, issuer common name, and every OCSP/CRL URL from the Authority Information Access and CRL Distribution Points extensions; those identifiers are exactly what a CA support engineer asks for.

Next, confirm what the server really sends — not what you think it sends:

# Pull the chain and OCSP staple exactly as a client sees it
openssl s_client -connect example.com:443 -servername example.com 
  -showcerts -status < /dev/null > chain.txt 2>&1

# Extract the leaf and read its identifying fields
awk '/BEGIN CERT/{n++} n==1' chain.txt > leaf.pem
openssl x509 -in leaf.pem -noout -serial -issuer -dates -ocsp_uri

OpenSSL 1.1.1 and 3.x print the same four fields, but 3.x defaults to security level 1 and will reject weak-but-valid chains that 1.1.1 accepts — so run the check with the same OpenSSL major version your users’ clients ship, or you may chase a phantom. Look for OCSP response: no response sent in the output: a missing staple means Chrome falls back to its own CRLSet, which updates on a component schedule rather than in real time.

Hostnames resolve to many addresses, and one stale node is enough to make the error intermittent:

for ip in $(dig +short A example.com) $(dig +short AAAA example.com); do
  echo "== $ip"; openssl s_client -connect "$ip:443" 
    -servername example.com -showcerts < /dev/null 2>&1 
    | openssl x509 -noout -serial -issuer
done

Compare serials across the output. A load balancer or CDN edge still serving the pre-reissue certificate produces the classic “works on refresh, fails sometimes” pattern. Then query the revocation source the certificate itself names:

# AIA contains an OCSP URL
openssl ocsp -issuer chain.pem -cert leaf.pem 
  -url http://ocsp.example.com -resp_text

# CRL Distribution Points present instead
curl -sO http://crl.example.com/issuer.crl
openssl crl -in issuer.crl -noout -text | grep -A2 -i "$(openssl x509 -in leaf.pem -noout -serial | cut -d= -f2)"

You want the literal verdict line — leaf.pem: good, revoked, or unauthorized (a sign you paired the wrong issuer certificate). Finally, separate browser-side from server-side by testing the same URL in Chrome stable, Chrome Beta, Firefox, and Safari:

Client Error string Primary revocation source
Chrome / Edge net::err_cert_revoked CRLSet component + OCSP soft-fail
Firefox SEC_ERROR_REVOKED_CERTIFICATE CRLite / OneCRL + OCSP
Safari / macOS “This certificate has been revoked” OCSP (Apple push-based)
curl + OpenSSL curl: (60) certificate has been revoked (X509_V_ERR_CERT_REVOKED = 23) CRL/OCSP only if --crlfile or stapling checked

If only one Chrome profile fails, the certificate is fine and your local CRLSet or profile state is stale — check chrome://components for the CRLSet version and clear the profile. If every browser and curl fails, treat it as a server/CA problem and open a ticket quoting the serial, issuer CN, OCSP response bytes, and NetLog timestamps. When the CA insists the certificate is not revoked, ask for that status in writing; per Let’s Encrypt’s documentation, revocation is permanent for the serial and reissuance is the only remedy, while a Chrome CRLSet false positive resolves itself on the next component refresh.

Which OpenSSL, curl, and certutil Commands Check net::err_cert_revoked?

Wondering which command actually proves Chrome’s net::err_cert_revoked? Start by asking the server for a stapled OCSP response. -servername is mandatory for SNI virtual hosts; omit it and you may inspect the default vhost’s certificate instead.

openssl s_client -connect example.com:443 -servername example.com 
  -status -showcerts < /dev/null
# Look for:
# OCSP Response Status: successful (0x0)
# Cert Status: good        <-- or "revoked"
# "no response sent" means the server did not staple OCSP

A printed Cert Status: revoked is direct evidence for net::err_cert_revoked; per RFC 6960, successful (0x0) only means the responder answered, not that the certificate is valid. If stapling is absent, extract the CA’s revocation endpoints:

openssl x509 -in leaf.pem -noout -ocsp_uri
openssl x509 -in leaf.pem -noout -text | grep -A4 'CRL Distribution Points'
# OpenSSL 1.1.1 and 3.x both print AIA OCSP and CRL DP fields

No OCSP or CRL URL? You must fall back to the CA’s portal or Chrome’s CRLSet status. To query OCSP manually, keep -noverify only for diagnostics; for production verification use -CAfile so the responder signature is checked:

openssl ocsp -issuer chain.pem -cert leaf.pem 
  -url http://ocsp.example.com 
  -header Host=ocsp.example.com 
  -resp_text -noverify
# Production variant: replace -noverify with -CAfile chain.pem

From curl 7.41+, --cert-status fails the request when the stapled OCSP response is invalid; look for OCSP stapling: received. CRL checks need OpenSSL-backed curl:

curl -vI --cert-status https://example.com
curl --crlfile issuer.crl https://example.com
# --crlfile is ignored by some non-OpenSSL backends

Locally, OpenSSL’s verify docs define -crl_check for the leaf and -crl_check_all for the chain; OK requires a valid CRL signature and an absent serial:

openssl verify -crl_check -CRLfile issuer.crl 
  -CAfile chain.pem leaf.pem
# Add -crl_check_all to validate every non-root certificate
# Success: leaf.pem: OK

On Windows, certutil -urlfetch -verify cert.cer fetches AIA/CRL URLs and prints revocation status; certutil -CRL inspects the local CRL cache—useful when only the CA portal is authoritative and you need reproducible support-ticket evidence.

Command What it proves Version/default note
openssl s_client -status Stapled OCSP status: good/revoked Requires SNI -servername
openssl x509 -ocsp_uri OCSP responder URL OpenSSL 1.1.1/3.x
openssl ocsp Live OCSP answer and signature -noverify skips signature validation
curl --cert-status Stapling enforcement curl 7.41+
openssl verify -crl_check Serial absent from supplied CRL Add -crl_check_all for chain
certutil -urlfetch -verify Windows AIA/CRL fetch result Windows built-in

How Do You Fix net::err_cert_revoked for Let's Encrypt, Nginx, and Apache?

Revocation is a state change at the CA, so no amount of restarting fixes it — you must replace the certificate (or the chain) at every place TLS terminates. Start with what the browser is actually seeing: open DevTools → Security → “View certificate” and note the serial and the leaf’s OCSP/CRL status, because a revoked intermediate produces the same net::err_cert_revoked as a revoked leaf.

Let’s Encrypt: reissue instead of waiting. Certbot keeps the old serial until a renewal runs, and the default renewal window only starts 30 days before expiry, so force it:

certbot renew --force-renewal --deploy-hook 'systemctl reload nginx'
certbot certificates          # shows Serial, Expiry, and cert paths
ls -l /etc/letsencrypt/live/example.com/   # fullchain.pem, privkey.pem, chain.pem

Certbot 2.x writes the new lineage into /etc/letsencrypt/live/example.com/ (symlinks into archive/). Let’s Encrypt certs are free, 90 days, and per Let’s Encrypt’s rate-limit docs you get 50 certificates per registered domain per week — enough for repeated forced renewals, but don’t loop it in a script.

Nginx: full chain + stapling. Defaults are ssl_stapling off and no resolver, which is why stapling silently does nothing:

ssl_certificate     /etc/letsencrypt/live/example.com/fullchain.pem;  # leaf + intermediates
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
ssl_stapling on;
ssl_stapling_verify on;
ssl_trusted_certificate /etc/letsencrypt/live/example.com/chain.pem;  # issuer chain for verify
resolver 1.1.1.1 8.8.8.8 valid=300s;
resolver_timeout 5s;

Run nginx -t && systemctl reload nginx, then grep error.log for ssl_stapling messages. Note: since Let’s Encrypt stopped embedding OCSP URLs in new certificates (30 Jan 2025) and retired its responders, stapling is a no-op for those certs — Chrome relies on CRLs/CRLite, so a clean reissue matters more than stapling.

Apache 2.4 (mod_ssl). The cache directive must sit in the global/server scope, outside <VirtualHost>, or Apache refuses to start:

SSLUseStapling on
SSLStaplingCache "shmcb:logs/stapling-cache(150000)"
SSLStaplingResponderTimeout 5
SSLStaplingReturnResponderErrors off   # don't break the handshake on responder errors

Restart, then verify with openssl s_client -connect example.com:443 -status </dev/null | head -20 — you want OCSP Response Status: successful.

Commercial CAs: you cannot un-revoke; submit a new CSR (new key) and treat it as a reissue. Timings and list prices:

Type Reissue time Typical annual price Validation
DV 15–60 min $10–$100 DNS/HTTP/file
OV 1–3 business days $50–$300 Organization checks
EV 1–3 business days $200–$1,000+ Extended org + warranty

Chain order is a classic culprit. Leaf first, then intermediates; root optional. Inspect with:

openssl crl2pkcs7 -nocrl -certfile fullchain.pem | openssl pkcs7 -print_certs -noout

Drop expired cross-signed intermediates — a revoked intermediate anywhere in the chain triggers net::err_cert_revoked even with a brand-new leaf. Finally, update every termination point (LB, ingress, CDN, origin):

kubectl create secret tls example-tls --cert=fullchain.pem --key=privkey.pem 
  --dry-run=client -o yaml | kubectl apply -f -
kubectl rollout restart deploy/ingress-nginx -n ingress-nginx

Purge the CDN cache and re-check the serial at each edge; a stale edge cert keeps returning net::err_cert_revoked long after your origin is clean.

net::err_cert_revoked vs Other Chrome Certificate Errors: What Is the Difference?

What actually separates net::err_cert_revoked from the other Chrome certificate errors? Chrome runs certificate validation as a sequence of independent checks — chain building, trust anchoring, hostname matching, validity dates, and revocation — and each failure surfaces as a different net:: error. The table below maps the five you will meet most often to their first diagnostic and their real fix.

Chrome error Typical cause First check Fix
net::err_cert_revoked Leaf or intermediate serial is revoked in CRLSet, CRL, or OCSP openssl s_client -status; serial in CRL/OCSP Reissue and deploy a non-revoked cert; fix chain
net::err_cert_date_invalid NotBefore/NotAfter outside client clock, or expired openssl x509 -noout -dates; system time Renew cert or fix clock
net::err_cert_authority_invalid Missing/invalid intermediate or untrusted root openssl s_client -showcerts; chain count Serve full chain; install correct root
net::err_cert_common_name_invalid SAN does not match hostname openssl x509 -noout -ext subjectAltName Reissue with correct SAN
net::err_ssl_protocol_error TLS version/cipher mismatch, wrong port, plain HTTP openssl s_client -tls1_2; curl -v Enable TLS 1.2/1.3 and correct listener

net::err_cert_revoked is a revocation decision, not a trust-store or hostname decision. A certificate can carry a correct SAN, valid dates, and a trusted issuer and still fail because its serial is revoked — which is why blindly renewing for the wrong reason wastes an issuance window and may re-deploy the same compromised key.

# Does the handshake reach the cert stage, and what does the server staple?
openssl s_client -connect example.com:443 -servername example.com -status </dev/null 2>&1 
  | openssl x509 -noout -serial -subject -issuer -dates   # -status requests OCSP stapling (RFC 6066)

# Ask the CA's responder directly — look for "Cert Status: revoked"
openssl ocsp -issuer chain.pem -cert leaf.pem 
  -url http://ocsp.example-ca.com -resp_text

# Confirm dates and SAN in isolation
openssl x509 -in leaf.pem -noout -dates -ext subjectAltName

Chrome does not perform a live OCSP fetch for every connection; per Chromium’s CRLSet documentation it ships a compressed list of revoked serials with the browser and additionally honours stapled OCSP responses. That matters operationally: a certificate revoked minutes ago may still load for some users until CRLSet updates, while a stapled revoked response fails immediately.

net::err_cert_date_invalid often exposes a click-through in Chrome, whereas revocation is treated as a hard failure — a deliberate design choice, because date errors usually mean renewal automation broke, while revocation usually means the CA or private key was compromised. net::err_cert_authority_invalid, by contrast, is a chain-building failure: the chain was never completed, so no revocation check could even run. And net::err_ssl_protocol_error fires before certificate validation — if openssl s_client cannot complete a handshake, fix protocol, cipher, and SNI first.

Keep two artifacts in every incident ticket: a Chrome NetLog capture (which records the exact certificate Chrome rejected) and the openssl s_client -status output (what the server and responder actually returned). See RFC 5280 §5 for CRL semantics and RFC 6960 for OCSP response fields.

What Common Mistakes Cause net::err_cert_revoked to Persist?

Most persistent cases of net::err_cert_revoked are not revocation problems — they are deployment problems that leave a revoked certificate somewhere in the chain or on some edge node. Chrome validates every certificate in the path (leaf and intermediates) against CRLSets/CRLite and OCSP, so one stale intermediate is enough to keep the error alive even after you “renewed the cert.”

  1. Replacing only the leaf and keeping a revoked intermediate in fullchain.pem. Count what you actually ship: grep -c 'BEGIN CERTIFICATE' fullchain.pem returns 2 for a normal Let’s Encrypt chain (leaf + intermediate, e.g. E5/R11). A count of 3 usually means a root was appended — unnecessary, since clients already trust it via their store. Confirm the live chain with openssl s_client -connect example.com:443 -servername example.com -showcerts /dev/null | grep -c 'BEGIN CERTIFICATE'.
  2. Deploying to one node and assuming the load balancer followed. A mixed fleet produces the classic “random” symptom: some requests succeed, others hit net::err_cert_revoked. Compare serials across every A/AAAA record and CDN POP:
for ip in $(dig +short A example.com); do
  echo "== $ip"
  openssl s_client -connect "$ip:443" -servername example.com /dev/null 
    | openssl x509 -noout -serial -subject   # serials must all match
done
  1. Revoking the old certificate before the new one is live. Order matters: issue → deploy → verify → revoke. certbot revoke --cert-path /etc/letsencrypt/live/example.com/cert.pem --reason keycompromise is permanent (reasons per RFC 5280 §5.3.1: keyCompromise, superseded, cessationOfOperation, affiliationChanged) and burns rate limit.
  2. Enabling ssl_stapling on without a resolver or trusted chain. Nginx logs [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate and serves no staple. A working block needs ssl_stapling on; ssl_stapling_verify on; ssl_trusted_certificate /etc/letsencrypt/live/example.com/chain.pem; resolver 1.1.1.1 8.8.8.8 valid=300s;. Apache 2.4 without SSLStaplingCache "shmcb:logs/ssl_stapling(32768)" logs an AH01980 configuration error. Both default to off, so stapling never happens by accident.
  3. Assuming Let’s Encrypt OCSP behavior is static. Per Let’s Encrypt’s 2024 announcement, OCSP is being discontinued in favor of CRLs, and Chrome increasingly relies on CRLite/CRLSets instead. Inspect the actual certificate rather than assuming: openssl x509 -in cert.pem -noout -ocsp_uri -ext crlDistributionPoints.
  4. Ignoring CA incident notices and CRLSet lag. If the CA revoked an intermediate or hierarchy, reissuing from that same intermediate cannot help — move to a different intermediate/CA and request a replacement chain.
Mistake Symptom Fast check
Leaf-only swap Error persists after renewal grep -c 'BEGIN CERTIFICATE' fullchain.pem
Partial fleet deploy Intermittent failures Serial loop above
Early revocation All requests fail at once Compare notBefore vs revoke time
Stapling misconfig Silent, no staple sent openssl s_client -status

How Do You Verify net::err_cert_revoked Is Really Fixed?

Do not trust the reload button. A genuinely fixed net::err_cert_revoked means the chain the server actually sends no longer contains a revoked serial — that is a socket-level fact, not a UI state. Run these five checks in order; each answers a different question, and each fails differently.

1. Browser check — but restart properly. Chrome caches certificate and OCSP verdicts per profile, and they survive tab closes. Quit the process, then load the site in a throwaway profile so no HSTS/OCSP state carries over, and read DevTools > Security: you want “Certificate — valid and trusted” with no revocation error. For stubborn cases capture chrome://net-export, reproduce, and confirm the new serial appears in the logged chain.

# hard restart so Chrome re-fetches the chain instead of reusing its verdict
pkill -f "Google Chrome"; sleep 2
google-chrome --user-data-dir=/tmp/chrome-clean https://example.com

2. OCSP stapling check. Per the OpenSSL s_client(1) docs, -status sends a status_request extension (RFC 6066) and prints the stapled response (RFC 6960):

openssl s_client -connect example.com:443 -servername example.com -status < /dev/null 2>/dev/null 
  | openssl x509 -noout -serial -dates -issuer
# then inspect the staple itself:
openssl s_client -connect example.com:443 -servername example.com -status < /dev/null 2>/dev/null 
  | grep -A3 "OCSP response"   # expect: Cert Status: good

no response sent means stapling is broken, which is not the same as revoked — browsers then soft-fail and fetch OCSP themselves.

3. curl check (7.41.0+ added --cert-status).

curl -vI --cert-status https://example.com 2>&1 | grep -Ei "HTTP/|SSL certificate status"
# < HTTP/2 200
# * SSL certificate status: good
# "SSL certificate status: revoked" = still serving a revoked leaf or intermediate

4. Serial comparison across every edge. A mismatch means the deploy is incomplete — keep the incident open.

openssl x509 -in fullchain.pem -noout -serial      # serial=03A1B2...
for ip in $(dig +short example.com); do
  echo | openssl s_client -connect $ip:443 -servername example.com 2>/dev/null 
    | openssl x509 -noout -serial
done
Check Tool / version Healthy signal Blind spot
Browser Chrome DevTools > Security, chrome://net-export “valid and trusted”, new serial Other profiles, mobile clients
Stapling openssl s_client -status (1.1.1+/3.x) Cert Status: good “no response sent” ≠ revoked
Live revocation curl --cert-status (≥7.41.0) HTTP 200 + status: good Intermediate-only revocation
Edge consistency openssl x509 -serial per IP Identical serial everywhere Hidden CDN PoPs
External SSL Labs, crt.sh, mobile network A grade, no stray certs Point-in-time only

5. External and continuous checks. SSL Labs’ SSL Server Test surfaces chain and stapling faults; crt.sh reveals misissued certificates on your domain that could trigger revocation later. For monitoring, blackbox_exporter’s probe_ssl_earliest_cert_expiry only covers expiry — add a 5–15 minute openssl s_client -status probe and alert on Cert Status: revoked, any serial change, and stapling failure.

How Do You Prevent net::err_cert_revoked With Monitoring and OCSP Stapling?

Prevention beats cleanup. Chrome only paints net::err_cert_revoked after an OCSP or CRL check returns “revoked” for the leaf (or a chain element), so the real goal is twofold: never let an unintended certificate exist, and never let a stale one keep serving on an edge. Five controls cover most of that surface.

1. Automate renewal, but gate the reload behind a config test. Let’s Encrypt certificates live 90 days, and Certbot 2.x renews at 30 days remaining by default (renew_before_expiry). A renewal that reloads a broken vhost is its own outage, so wrap the reload:

# /etc/letsencrypt/renewal-hooks/deploy/reload-web.sh  (chmod +x)
#!/bin/sh
set -e
nginx -t && systemctl reload nginx      # Apache: apachectl configtest && systemctl reload apache2

# Verify the whole flow without touching production certs
certbot renew --dry-run
# acme.sh equivalent — reload only fires if the test passes
acme.sh --install-cert -d example.com 
  --key-file       /etc/nginx/ssl/example.com.key 
  --fullchain-file /etc/nginx/ssl/example.com.fullchain.pem 
  --reloadcmd      "nginx -t && systemctl reload nginx"

2. Staple where it still applies, never exclusively. Nginx needs a trusted chain to verify the staple, or ssl_stapling_verify silently fails:

ssl_stapling on;
ssl_stapling_verify on;
ssl_trusted_certificate /etc/nginx/ssl/chain.pem;
resolver 1.1.1.1 8.8.8.8 valid=300s;
resolver_timeout 5s;
# Apache: SSLUseStapling on;  SSLStaplingCache "shmcb:logs/ssl_stapling(32768)"

Per Let’s Encrypt’s 2024 announcement, its OCSP responders were retired in 2025 in favour of CRLs, so stapling now matters mainly for CAs still running responders (DigiCert, Sectigo, Google Trust Services). Alert on staple failure anyway — and keep your CRL path documented in case the CA drops OCSP too.

3. Constrain issuance with CAA and watch CT logs. A CAA record narrows which CAs may issue, so a compromised or misconfigured ACME client can’t quietly obtain a cert elsewhere: example.com. CAA 0 issue "letsencrypt.org". Pair it with CT monitoring — curl -s "https://crt.sh/?q=example.com&output=json" | jq -r '.[].name_value' | sort -u — and alert on any name or issuer you didn’t request. Fewer surprise certificates means fewer chances of a misissuance revocation.

4. Ship a minimal, current chain. Serve leaf plus intermediate only; expired cross-signs are a classic source of chain-level revocation errors. Validate before deploying: openssl verify -CAfile root.pem -untrusted chain.pem leaf.pem must print leaf.pem: OK. Take cipher and protocol guidance from Mozilla’s SSL Configuration Generator (TLS 1.2/1.3, reviewed annually).

Triage step Command Healthy result
Identify serial + issuer openssl x509 -in leaf.pem -noout -serial -issuer serial matches your inventory
Live staple openssl s_client -connect example.com:443 -servername example.com -status </dev/null 2>/dev/null | grep "OCSP Response Status" successful (0x0)
Chain openssl verify -CAfile root.pem -untrusted chain.pem leaf.pem OK

Budget 15 minutes for triage and 1–4 hours for full remediation across multiple edges: reissue, deploy everywhere, re-verify with the commands above, then revoke the old serial so no edge can fall back to it and re-trigger net::err_cert_revoked.

How Long Does net::err_cert_revoked Take to Fix and What Does It Cost?

Almost never the certificate — it’s the engineering time. Let’s Encrypt issues at $0 (no fee in its CPS; ISRG is a nonprofit), so the only real line item is how long a human or pipeline needs to notice, reissue, and reload. An ACME client with a deploy hook handles the whole loop in 5–15 minutes; the same job done by hand across an origin plus two CDN certificate stores routinely lands at 30–120 minutes, because each edge keeps its own copy of the leaf and must be updated and purged independently.

Scenario Typical wall-clock time Direct cost
ACME + reload hook, single origin 5–15 min $0
ACME + CDN API push, 3 edges (canary first) 15–45 min $0
Manual DV reissue at a commercial CA 15–60 min $10–$100/yr
OV/EV reissue (business + callback validation) 1–3 business days OV $50–$300/yr, EV $200–$1,000+/yr
CA/intermediate incident (new chain required) Hours to days Secondary CA cert, often $0–$100/yr

Confirm what the edge is actually serving before you touch anything. A stale serial keeps producing net::err_cert_revoked even after your origin is clean:

# Read the leaf serial and the stapled OCSP verdict from the edge itself
openssl s_client -connect www.example.com:443 -servername www.example.com 
  -status -showcerts /dev/null | 
  grep -E "OCSP Response Status|Cert Status|serial="
# "Cert Status: revoked"  → this node still has the dead certificate
# no "OCSP Response Status" line at all → stapling is off (see RFC 6066 §8)
# Reissue only after checking headroom against Let's Encrypt rate limits
certbot certificates                      # serial + expiry of the copy on disk
certbot renew --cert-name example.com --force-renewal 
  --deploy-hook "systemctl reload nginx && echo reloaded"
# --force-renewal burns the 5-duplicate-certs/week allowance; the hard ceiling
# is 50 certificates per registered domain per week (Let's Encrypt docs)

Downtime dominates the math. Thirty minutes of net::err_cert_revoked on a store doing $40k/hour gross dwarfs any annual certificate price, so deploy to one canary edge, verify the new serial there, and keep the old key material until every node reports the new serial — rollback is then a one-line config revert. Do not revoke the old certificate until the replacement is live everywhere; revocation is the trigger, not the fix.

Monitoring is cheap: SSL Labs scans and a cron check are free, commercial uptime/certificate watchers run roughly $5–$50/month per site. Alert on a state change, not just expiry — per RFC 6960, “revoked” and a missing staple are the two signals that precede this error:

# /etc/cron.hourly/cert-status  (chmod +x)
for h in edge1.example.com www.example.com; do
  out=$(openssl s_client -connect "$h:443" -servername www.example.com -status /dev/null)
  echo "$out" | grep -q "Cert Status: good" 
    || echo "ALERT $h: $(echo "$out" | grep -E 'Cert Status|OCSP Response Status')"
done

If a CA or intermediate incident is the root cause, remediation stretches to hours or days because you may need a wholly different chain. Keep a second ACME account (for example ZeroSSL or Buypass alongside Let’s Encrypt) and a tested fallback fullchain — a spare certificate costs less than one multi-hour outage.

It means Chrome's certificate verifier found that the leaf or an intermediate in the served chain is revoked. The revocation signal can come from a Chrome CRLSet, a CRL, or a stapled OCSP response; the browser then blocks the connection instead of showing a click-through warning.

Usually it is a server or CA problem: the server is serving a revoked certificate, or a revoked intermediate is still in the chain. A browser-side CRLSet false positive is possible but uncommon; confirm with `openssl s_client -status` and the CA's revocation portal before blaming Chrome.

net::err_cert_date_invalid means the certificate is expired or not yet valid, often because renewal automation or the client clock failed. net::err_cert_revoked means the certificate is within its dates but its serial is on a revocation list; the fix is reissue and redeploy, not just waiting or fixing the clock.

Chrome generally does not offer a safe click-through for a revoked certificate, and using `–ignore-certificate-errors` or a hidden flag is not acceptable for production or end users. Bypassing removes the protection that revocation provides; replace the certificate and correct the chain instead.

Devices can have different Chrome CRLSet versions, cached OCSP/CRL results, DNS answers, or CDN edges. A mixed load-balancer fleet serving both old and new serials is a common cause; check every A/AAAA record with `openssl s_client -servername` before assuming the browser is wrong.

A single-server Let's Encrypt reissue and reload can take 5-15 minutes; a multi-CDN or Kubernetes rollout commonly takes 30-120 minutes. Commercial OV/EV reissues can take 1-3 business days because of validation, so start the CA ticket as soon as you confirm the revocation.

Let's Encrypt certificates are not revoked by default; the error appears only if the specific certificate or its intermediate was revoked. Per Let's Encrypt docs, OCSP support has been changing and CRLs are increasingly used, so check the certificate's AIA and CRL Distribution Points and reissue with `certbot renew –force-renewal` if needed.


本文由 sslgood.com 安全团队基于生产环境实战经验撰写,关键结论均经过技术复核。

内容审核

长期从事 SSL/TLS 证书部署与 HTTPS 运维,负责本站证书选型、安装配置与故障排查内容的编写与审核。