Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make term "trust store" consistent across the docs #999

Merged
merged 2 commits into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion command/ca/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ $ step ca bootstrap --team superteam --team-url https://config.example.com/<>
fingerprintFlag,
cli.BoolFlag{
Name: "install",
Usage: "Install the root certificate into the system truststore.",
Usage: "Install the root certificate into the system's default trust store.",
},
flags.Team,
flags.TeamAuthority,
Expand Down
4 changes: 2 additions & 2 deletions command/certificate/certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ Extract the public key from a PEM encoded certificate:
$ step certificate key foo.crt
'''

Install a root certificate in the system truststore:
Install a root certificate in the system's default trust store:
'''
$ step certificate install root-ca.crt
'''

Uninstall a root certificate from the system truststore:
Uninstall a root certificate from the system's default trust store:
'''
$ step certificate uninstall root-ca.crt
'''`,
Expand Down
54 changes: 27 additions & 27 deletions command/certificate/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,50 +17,50 @@ func installCommand() cli.Command {
return cli.Command{
Name: "install",
Action: command.ActionFunc(installAction),
Usage: "install a root certificate in the system truststore",
Usage: "install a root certificate in the supported trust stores",
UsageText: `**step certificate install** <crt-file>
[**--prefix**=<name>] [**--all**]
[**--java**] [**--firefox**] [**--no-system**]`,
Description: `**step certificate install** installs a root certificate in the system
truststore.
Description: `**step certificate install** installs a root certificate in
the supported trust stores.

Java and Firefox truststores are also supported via the respective flags.
Java's and Firefox's trust stores are also supported via the respective flags

## POSITIONAL ARGUMENTS

<crt-file>
: Certificate to install in the system truststore
: Root certificate to install in the specified trust stores.

## EXAMPLES

Install a certificate in the system truststore:
Install a root certificate in the system's default trust store:
'''
$ step certificate install root-ca.pem
'''

Install a certificate in all the supported truststores:
Install a root certificate in all the supported trust stores:
'''
$ step certificate install --all root-ca.pem
'''

Install a certificate in Firefox and the system truststore:
Install a root certificate in Firefox's and the system's default trust store:
'''
$ step certificate install --firefox root--ca.pem
$ step certificate install --firefox root-ca.pem
'''

Install a certificate in Java and the system truststore:
Install a root certificate in Java's and the system's default trust store:
'''
$ step certificate install --java root-ca.pem
'''

Install a certificate in Firefox, Java, but not in the system truststore:
Install a root certificate in Firefox's and Java's trust store, but not in the system's default trust store:
'''
$ step certificate install --firefox --java --no-system root-ca.pem
'''`,
Flags: []cli.Flag{
cli.StringFlag{
Name: "prefix",
Usage: `The prefix used to <name> the CA in the truststore. Defaults to the
Usage: `The prefix used to <name> the CA in the trust store. Defaults to the
certificate common name.`,
},
cli.BoolFlag{
Expand All @@ -73,11 +73,11 @@ certificate common name.`,
},
cli.BoolFlag{
Name: "no-system",
Usage: "disables the install on the system truststore",
Usage: "disables the install on the system's default trust store",
},
cli.BoolFlag{
Name: "all",
Usage: "install on the system, Firefox and Java truststores",
Usage: "install in Firefox's, Java's, and the system's default trust store",
},
},
}
Expand All @@ -87,38 +87,38 @@ func uninstallCommand() cli.Command {
return cli.Command{
Name: "uninstall",
Action: command.ActionFunc(uninstallAction),
Usage: "uninstall a root certificate from the system truststore",
Usage: "uninstall a root certificate from the supported trust stores",
UsageText: `**step certificate uninstall** <crt-file>
[**--prefix**=<name>] [**--all**]
[**--java**] [**--firefox**] [**--no-system**]`,
Description: `**step certificate uninstall** uninstalls a root certificate from the system
truststore.
Description: `**step certificate uninstall** uninstalls a root certificate from
the supported trust stores.

Java and Firefox truststores are also supported via the respective flags.
Java's and Firefox's trust stores are also supported via the respective flags.

## POSITIONAL ARGUMENTS

<crt-file>
: Certificate to uninstall from the system truststore
: Root certificate to uninstall from the specified trust stores.

## EXAMPLES

Uninstall from only the system truststore:
Uninstall only from the system's default trust store:
'''
$ step certificate uninstall root-ca.pem
'''

Uninstall a certificate from all the supported truststores:
Uninstall a root certificate from all the supported trust stores:
'''
$ step certificate uninstall --all root-ca.pem
'''

Uninstall a certificate from Firefox and the system truststore:
Uninstall a root certificate from Firefox's and the system's default trust store:
'''
$ step certificate uninstall --firefox root--ca.pem
$ step certificate uninstall --firefox root-ca.pem
'''

Uninstall a certificate from Java and the system truststore:
Uninstall a root certificate from Java's and the system's default trust store:
'''
$ step certificate uninstall --java root-ca.pem
'''
Expand All @@ -130,7 +130,7 @@ $ step certificate uninstall --firefox --java --no-system root-ca.pem
Flags: []cli.Flag{
cli.StringFlag{
Name: "prefix",
Usage: `The prefix used to <name> the CA in the truststore. Defaults to the
Usage: `The prefix used to <name> the CA in the trust store. Defaults to the
certificate common name.`,
},
cli.BoolFlag{
Expand All @@ -143,11 +143,11 @@ certificate common name.`,
},
cli.BoolFlag{
Name: "no-system",
Usage: "disables the uninstall from the system truststore",
Usage: "disables the uninstall from the system's default trust store",
},
cli.BoolFlag{
Name: "all",
Usage: "uninstall from the system, Firefox and Java truststores",
Usage: "uninstall from Firefox's, Java's, and the system's default trust store",
},
},
}
Expand Down