Skip to content

bxp-cli acme revoke

Revoke the certificate.

Usage

Tell the CA that the certificate in --out-dir must no longer be trusted.

Give the reason with --reason. The CA stores it, and its list of revoked
certificates (CRL) and OCSP report it.

Reasons: cessation, key-compromise, superseded, unspecified.
Use key-compromise when the certificate's private key may be known to
someone else, and superseded when a new certificate replaces this one.

Usage:
  bxp-cli acme revoke [flags]

Examples:
  sudo bxp-cli acme revoke --acme-id my-acme --reason superseded
  sudo bxp-cli acme revoke --acme-id my-acme --reason key-compromise

Flags:
  -h, --help            help for revoke
      --reason string   why the certificate is revoked: cessation, key-compromise, superseded, unspecified (default "unspecified")

Global Flags:
      --acme-id string     ID of the ACME endpoint on the BastionXP server
      --authority string   ID of the certificate authority on the server
                           (or BXP_CLI_AUTHORITY; default: the one saved by "bxp-cli trust")
      --ca-url string      address of the BastionXP server, e.g. https://bastionxp.example.com
                           (or BXP_CLI_CA_URL; default: the one saved by "bxp-cli trust")
      --directory string   full address of an ACME directory, e.g. https://acme-v02.api.letsencrypt.org/directory
                           (default: the BastionXP server's, from --ca-url, --authority and --acme-id)
      --out-dir string     directory for the account key, the certificate and its key (default: ~/.bxp-cli/acme)
      --root string        path of the CA's root certificate
                           (or BXP_CLI_ROOT; default: the one saved by "bxp-cli trust")
  -v, --verbose            show each step on stderr (or BXP_CLI_LOG_LEVEL=debug)

Parent command: bxp-cli acme