step-ca
step-ca
step-ca
in a Docker containerstep-ca
step-ca
step-ca
in a Docker containerstep ca root
step ca root -- download and validate the root certificate
step ca root [<root-file>]
[--ca-url=<uri>] [--fingerprint=<fingerprint>] [--context=<name>]
step ca root downloads and validates the root certificate from the certificate authority.
root-file
File to write root certificate (PEM format)
-f, --force Force the overwrite of files without asking.
--fingerprint=fingerprint
The fingerprint
of the targeted root certificate.
--ca-url=URI
URI
of the targeted Step Certificate Authority.
--context=name
The context name
to apply for the given command.
Get the root fingerprint in the CA:
$ step certificate fingerprint /path/to/root_ca.crt
0d7d3834cf187726cf331c40a31aa7ef6b29ba4df601416c9788f6ee01058cf3
Download the root certificate from the configured certificate authority:
$ step ca root root_ca.crt \
--fingerprint 0d7d3834cf187726cf331c40a31aa7ef6b29ba4df601416c9788f6ee01058cf3
Download the root certificate using a given certificate authority:
$ step ca root root_ca.crt \
--ca-url https://ca.smallstep.com:9000 \
--fingerprint 0d7d3834cf187726cf331c40a31aa7ef6b29ba4df601416c9788f6ee01058cf3
Print the root certificate using the flags set by step ca bootstrap
:
$ step ca root
Unsubscribe anytime. See our privacy policy.
© 2023 Smallstep Labs, Inc. All rights reserved.