alpacon revoke create
Create a new certificate revocation request
alpacon revoke create [flags]
Options
--certificate string # certificate ID to revoke
--reason int # revocation reason code (see codes below)
--requested-reason string # reason description
-h, --help # help for create
Reason codes
| Code | Reason |
|---|---|
| 0 | Unspecified |
| 1 | Key compromise |
| 2 | CA compromise |
| 3 | Affiliation changed |
| 4 | Superseded |
| 5 | Cessation of operation |
| 6 | Certificate hold |
| 9 | Privilege withdrawn |
| 10 | AA compromise |
Examples
Create a revocation request interactively:
alpacon revoke create
Revoke a certificate with reason code (key compromise):
alpacon revoke create --certificate CERT_ID --reason 1
Revoke with a custom reason description:
alpacon revoke create --certificate CERT_ID --reason 4 --requested-reason "Replaced with new certificate"