step ca roots

Name

step ca roots -- download all the root certificates

Usage

step ca roots [<roots-file>]
[--ca-url=<uri>] [--root=<file>] [--context=<name>]

Description

step ca roots downloads a certificate bundle with all the root certificates.

Positional arguments

roots-file File to write all the root certificates (PEM format)

Options

--ca-url=URI URI of the targeted Step Certificate Authority.

-f, --force Force the overwrite of files without asking.

--root=file The path to the PEM file used as the root certificate authority.

--context=name The context name to apply for the given command.

Examples

Download the roots with flags set by step ca bootstrap:

$ step ca roots roots.pem

Download the roots with custom flags:

$ step ca roots roots.pem \ --ca-url https://ca.example.com \ --root /path/to/root_ca.crt

Print the roots using flags set by step ca bootstrap:

$ step ca roots