bxp acme revoke¶
Revoke a certificate.
Usage¶
Ask the CA to revoke a certificate it issued over ACME.
The request is signed with the account key that got the certificate,
or, with --key, with the certificate's own key: that works without the
account, for instance after the account key was lost.
Reasons: cessation, key-compromise, superseded, unspecified.
The CA's list of revoked certificates (CRL) and OCSP show it at once.
An administrator can do the same with "bxp revoke".
Usage:
bxp acme revoke [flags]
Examples:
bxp acme revoke --cert web.example.com.crt --reason superseded
bxp acme revoke --cert web.example.com.crt --key web.example.com.key \
--reason key-compromise
Flags:
--account-key string file with the ACME account key (default: acme-account.key next to --cert)
--cert string the certificate to revoke
-h, --help help for revoke
--key string sign with the certificate's private key instead of the account key
--reason string why: cessation, key-compromise, superseded, unspecified (default "unspecified")
Global Flags:
--ca-url string address of the CA server, e.g. https://ca.example.com:8443
(or BXP_CA_URL; default: the one saved by "bxp trust")
--config string path to the configuration file (default "bastionxp-ca.yaml")
--directory string address of the ACME directory of another CA, e.g. https://acme-v02.api.letsencrypt.org/directory
(default: the one of the server given with --ca-url). The CA's certificate is
checked against --root, or against the system's roots
--root string path of the CA's root certificate, root.crt
(or BXP_ROOT; default: the one saved by "bxp trust")
Parent command: bxp acme