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

CodeReason
0Unspecified
1Key compromise
2CA compromise
3Affiliation changed
4Superseded
5Cessation of operation
6Certificate hold
9Privilege withdrawn
10AA 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"