Revocation and CRLs
Reasons
Section titled “Reasons”reason in POST /v1/certificates/{serial}/revoke is an RFC 5280 reason. Vendors can use:
reason |
When |
|---|---|
keyCompromise |
The device private key leaked or may have leaked |
cessationOfOperation |
The device is no longer used (returned, decommissioned) |
superseded |
Replaced by a new certificate (renewal uses this automatically) |
affiliationChanged |
Ownership or affiliation of the device changed |
unspecified |
Anything else |
caCompromise and privilegeWithdrawn are reserved for Solarize. Revocation cannot be undone.
How fast
Section titled “How fast”A revocation immediately:
- Marks the certificate
revoked(API responses). - Re-signs the issuing CA’s CRL with a new number and publishes it to the repository.
- Updates the revoked list in the trust bundle (
trust.json). - Solarize receiving servers reload the trust bundle every 30 seconds, so they drop connections using that certificate within a minute.
CRLs are also re-signed daily without any revocation (7-day validity).
Checking
Section titled “Checking”# CRL (DER)curl -sS {repo}/crl/{CA ID}.crl -o ca.crlopenssl crl -inform DER -in ca.crl -noout -text
# Trust bundle (JSON): anchors (CA certificates) and revoked (serials)curl -sS {repo}/trust.json | jq '.revoked[] | select(.serial == "SERIAL")'{repo} is https://pki.solar-on.org for live and https://pki-dev.solar-on.org for the sandbox. Find the CA ID in the certificate’s CRL distribution point or in the Repository.
The OCSP address is in certificates, but the responder is off for now. Use CRLs or the trust bundle.