bxp-cli scep enroll¶
Get a TLS certificate over SCEP.
Usage¶
Get a certificate with the challenge password. The first --name is the
certificate's common name; the host names among them are also added
as DNS names.
Usage:
bxp-cli scep enroll [flags]
Examples:
bxp-cli scep enroll --scep-id my-scep --name printer1.example.com --challenge $CHALLENGE
Flags:
--challenge string the SCEP challenge password
--force replace the certificate if one exists
-h, --help help for enroll
--name stringArray a name for the certificate: the first is the common name (repeat for more)
--org string organization (O) for the certificate's subject
--ou string organizational unit (OU) for the certificate's subject
Global Flags:
--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")
--out-dir string directory for the device key, the certificate and the CA's certificates (default: ~/.bxp-cli/scep)
--root string path of the CA's root certificate
(or BXP_CLI_ROOT; default: the one saved by "bxp-cli trust")
--scep-id string ID of the SCEP endpoint on the BastionXP server
--url string full address of a SCEP endpoint
(default: the BastionXP server's, from --ca-url, --authority and --scep-id)
-v, --verbose show each step on stderr (or BXP_CLI_LOG_LEVEL=debug)
Parent command: bxp-cli scep