Update certdump README.

This commit is contained in:
Kyle Isom 2016-04-01 15:27:13 -07:00
parent e40745db9f
commit 8055404211
1 changed files with 11 additions and 0 deletions

View File

@ -7,6 +7,12 @@ at least one certificate, and dumps the certificates found in those
files. If the -l flag is given, it is assumed the file is a bundle and files. If the -l flag is given, it is assumed the file is a bundle and
only the leaf certificate will be shown. only the leaf certificate will be shown.
Certificates may also be passed on standard input; no arguments, or a
single "-" argument, inform certdump that it should read certificates
from standard input. This allows chaining, à la
cfssl bundle -domain example.net | jq .bundle | certdump
Example (kyleisom.pem and tyrfingr.pem are the bundled certificates Example (kyleisom.pem and tyrfingr.pem are the bundled certificates
for two of my sites): for two of my sites):
@ -131,3 +137,8 @@ Details:
Extended usages: server auth, client auth Extended usages: server auth, client auth
Basic constraints: valid Basic constraints: valid
SANs: *.tyrfingr.is, tyrfingr.is SANs: *.tyrfingr.is, tyrfingr.is
This same result could be had with
$ cfssl bundle -domain kyleisom.net | jq .bundle | certdump