Name
pkcs7
Synopsis
The pkcs7
command is used to examine
PKCS#7-formatted files. It can also be used to convert them from DER
to PEM format, and vice versa.
Options
- -in filename
Specify the name of a file containing a PKCS#7 structure. If this option is omitted, a PKCS#7 structure is read from
stdin
.- -inform DER|PEM
Specify the format, DER or PEM, of the input PKCS#7 structure. If this option is omitted, PEM is the default format.
- -out filename
Specify the name of the file to which output from the command will be written. If this option is omitted,
stdout
will be used.- -outform DER|PEM
Specify the format, DER or PEM, of the PKCS#7 structure that is written by the command. If this option is omitted, the default format of PEM will be used.
- -noout
Cause output of a PKCS#7 structure to be suppressed.
- -text
Cause a human-readable representation of the input PKCS#7 structure to be output.
- -print_certs
Cause any certificates or certificate revocation lists contained in the PKCS#7 structure to be output.
Notes
This command is not capable of printing out the various fields that can be contained in a PKCS#7 structure. Only PKCS#7 v1.5 structures as defined by RFC2315 are understood.
Get Network Security with OpenSSL now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.