bxp-cli acme¶
Get and manage TLS certificates with ACME: no token, no login.
Subcommands¶
| Command | Description |
|---|---|
bxp-cli acme issue |
Get a TLS certificate |
bxp-cli acme renew |
Get a new certificate for the names of one that is due |
bxp-cli acme revoke |
Revoke the certificate |
bxp-cli acme rollover-key |
Replace the ACME account key |
bxp-cli acme deactivate |
Close the ACME account for good |
Usage¶
Get TLS certificates with the ACME protocol, from a BastionXP CA or from
any other ACME CA (--directory). Nobody has to hand out a token or log
in: the machine proves that the names are its own.
The account key, the certificate and its key are kept in --out-dir.
Keep the account key: renewals and revocations use it again.
Usage:
bxp-cli acme [command]
Examples:
sudo bxp-cli acme issue --acme-id my-acme --name web.example.com
sudo bxp-cli acme renew --acme-id my-acme --exec "systemctl reload nginx"
Available Commands:
issue Get a TLS certificate
renew Get a new certificate for the names of one that is due
revoke Revoke the certificate
rollover-key Replace the ACME account key
deactivate Close the ACME account for good
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)
-h, --help help for acme
--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")
Global Flags:
-v, --verbose show each step on stderr (or BXP_CLI_LOG_LEVEL=debug)
Use "bxp-cli acme [command] --help" for more information about a command.