pkcs7.1s
View PKCS#7 structure
TLDR
View PKCS#7 structure
$ openssl pkcs7 -in [file.p7b] -print_certs
Convert to PEM$ openssl pkcs7 -in [file.p7b] -out [certs.pem] -print_certs
View structure info$ openssl pkcs7 -in [file.p7b] -text -noout
Convert DER to PEM$ openssl pkcs7 -in [file.der] -inform DER -out [file.pem]
SYNOPSIS
openssl pkcs7 [options]
DESCRIPTION
openssl pkcs7 processes PKCS#7 structures. Certificate chain format.
The tool handles .p7b files. Extracts certificates from chains.
openssl pkcs7 manages chains.
PARAMETERS
-in FILE
Input file.-out FILE
Output file.-print_certs
Print certificates.-text
Print text form.-inform FORMAT
Input format (PEM, DER).-noout
No output.
CAVEATS
Part of OpenSSL. Certificate chains only. No private keys.
HISTORY
PKCS#7 support in OpenSSL handles certificate chain structures.
SEE ALSO
openssl(1), openssl-pkcs12(1)


