Revocation and Removal
Revoking a certificate
Section titled “Revoking a certificate”# Default: use the saved issuing accountaster-acme cert revoke web --reason superseded --yes
# Key-compromise scenario: use the certificate key, no ACME account neededaster-acme cert revoke web --sign-with certificate-key --reason key-compromise --yes
# Target a historical generationaster-acme cert revoke web --operation OPERATION-ID --sign-with certificate-key --yesTwo signing identities
Section titled “Two signing identities”--sign-with |
Key used | Scenario |
|---|---|---|
account (default) |
The bound issuing account key | Routine revocation |
certificate-key |
The selected generation’s certificate private key | Account unavailable or suspected compromised, while the certificate can still be revoked |
certificate-key mode uses only the managed generation’s key — arbitrary file input is not accepted, and the account directory is never read. A failed attempt does not silently fall back to the other identity.
Revocation reasons
Section titled “Revocation reasons”--reason accepts every assigned RFC 5280 code: unspecified (0), key-compromise (1), ca-compromise (2), affiliation-changed (3), superseded (4), cessation-of-operation (5), certificate-hold (6), remove-from-crl (8), privilege-withdrawn (9), aa-compromise (10). Omitting --reason omits the reason. CAs may reject specific reasons under their own policy. No submitted reason ever “restores” a confirmed-revoked certificate.
Process and states
Section titled “Process and states”The confirmation dialog shows the certificate name, CA, reason, signing identity, and fingerprint; the CA is not contacted before confirmation. The revocation intent is persisted before sending, and success is only confirmed by HTTP 200 or a definitive alreadyRevoked response. Network timeouts, 5xx responses, or failed confirmation saves keep the pending (unconfirmed) state — nothing is replayed automatically. Running the same command again explicitly confirms or retries; the reason is fixed while pending.
Revocation does not delete local files, remove deployed copies, reload services, or rotate keys. Confirmed-revoked certificates stop being renewal candidates.
Local removal
Section titled “Local removal”cert remove deletes locally managed applications, generations, and keys. It never calls the CA, never revokes remote certificates, never cleans DNS, and never withdraws deployed copies:
aster-acme cert remove example-cert --yes # pick one applicationaster-acme cert remove example-cert --history --yes # non-current generationsaster-acme cert remove example-cert --revoked --yes # confirmed-revoked generationsaster-acme cert remove example-cert --all --yes # everything under this nameaster-acme cert remove example-cert --operation ID --yes--history/--revoked/--alland--operationare mutually exclusive- Removing the current generation clears the in-use selection without falling back to an older certificate
- The confirmation dialog states clearly that keys have no backup and removal is unrecoverable
- Failed-application cleanup uses
--failed(see Issuance and Recovery) and is a separate scope from issued generations
With multiple candidates the terminal asks; scripts must pass --operation or an explicit scope flag — --yes never guesses targets.