From d6db0604bc5c604f597f29360ce88dc4c775f6dc Mon Sep 17 00:00:00 2001 From: Carl Tashian Date: Tue, 17 Oct 2023 10:21:21 -0700 Subject: [PATCH] Fixes #1032 --- command/certificate/inspect.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/command/certificate/inspect.go b/command/certificate/inspect.go index 2f39aa587..9fdf1350e 100644 --- a/command/certificate/inspect.go +++ b/command/certificate/inspect.go @@ -26,11 +26,10 @@ func inspectCommand() cli.Command { UsageText: `**step certificate inspect** [**--bundle**] [**--short**] [**--format**=] [**--roots**=] [**--servername**=]`, - Description: `**step certificate inspect** prints the details of a certificate -or CSR in a human readable format. Output from the inspect command is printed to -STDERR instead of STDOUT. This is an intentional barrier to accidental -misuse: scripts should never rely on the contents of an unvalidated certificate. -For scripting purposes, use **step certificate verify**. + Description: `**step certificate inspect** prints the details of the +certificate or CSR in a human- or machine-readable format. Beware: Local certificates +are never verified. Always verify a certificate (using **step certificate verify**) +before relying on the output of this command. If crt-file contains multiple certificates (i.e., it is a certificate "bundle") the first certificate in the bundle will be output. Pass the --bundle option to