fx pki command#
fx pki#
Manage Step-CA PKI.
fx pki [OPTIONS] COMMAND [ARGS]...
certify#
Generates a certificate for the given name.
fx pki certify [OPTIONS]
Options
- -n, --name <name>#
Required Subject Alternative Name (SAN) to use for certificate. Use FQDN for aggregator, and common name for collaborator
- -t, --token <token_with_cert>#
Required Authentication token.
- -c, --certs-path <certs_path>#
The path where certificates will be stored
- -p, --ca-path <ca_path>#
Path to CA client, defaults to current directory.
- Default:
'.'
get-token#
Creates an authentication token.
fx pki get-token [OPTIONS]
Options
- -n, --name <name>#
Required
- --ca-url <ca_url>#
Full URL of CA server.
- Default:
'localhost:9123'
- -p, --ca-path <ca_path>#
Path to CA binaries, defaults to current directory.
install#
Creates a CA workspace, optionally password protected.
fx pki install [OPTIONS]
Options
- -p, --ca-path <ca_path>#
Required Path to CA.
- --password <password>#
- --ca-url <ca_url>#
- Default:
'localhost:9123'
run#
Starts a CA server.
fx pki run [OPTIONS]
Options
- -p, --ca-path <ca_path>#
Required The ca path
uninstall#
Removes Step-CA.
fx pki uninstall [OPTIONS]
Options
- -p, --ca-path <ca_path>#
Required Path to CA to be uninstalled.