bxp acme rollover-key¶
Replace the ACME account key.
Usage¶
Replace the account key with a new one, for instance when the old one
may have been seen by others. The account stays the same; only its key
changes. The new key is saved first as <file>.new, and takes the old
one's place once the CA has accepted it.
Usage:
bxp acme rollover-key [flags]
Examples:
bxp acme rollover-key --account-key /etc/bastionxp-ca/acme-account.key
Flags:
--account-key string file with the ACME account key (default "acme-account.key")
-h, --help help for rollover-key
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