bxp scep enroll¶
Get a TLS certificate over SCEP.
Usage¶
Get a TLS certificate with SCEP. The result is the same as with
"bxp tls".
The one-time token travels as the SCEP "challenge password". The key
is an RSA key, because SCEP cannot work with other kinds. It writes:
<name>.key the private key (it never leaves this machine)
<name>.crt the certificate, followed by the intermediate certificate
Usage:
bxp scep enroll [flags]
Examples:
bxp scep enroll --ca-url https://ca.example.com:8443 --root root.crt \
--token $TOKEN --name device1.example.com
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")
--force replace the key and certificate files if they exist
-h, --help help for enroll
--ldap log in with your directory (Active Directory) username and password instead of the browser
--ldap-user string the username for --ldap (default: your name on this machine)
--name stringArray a name for the certificate: DNS name, IP address or email address (repeat for more).
Default with --token: all the names the token allows
--out-dir string directory to write the key and certificate to (default ".")
--password-stdin with --ldap, read the password from the standard input instead of asking
--profile string tls-device, tls-client, tls-server or one of the CA's profiles. Only used without --token: a token already says which (default "tls-device")
--root string path of the CA's root certificate, root.crt
(or BXP_ROOT; default: the one saved by "bxp trust")
--token string a one-time token (or BXP_TOKEN). Without one, you log in in your browser
Global Flags:
--config string path to the configuration file (default "bastionxp-ca.yaml")
Parent command: bxp scep