LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pkcs7.1s

Process PKCS#7 certificate chain structures

TLDR

View PKCS#7 structure
$ openssl pkcs7 -in [file.p7b] -print_certs
copy
Convert to PEM
$ openssl pkcs7 -in [file.p7b] -out [certs.pem] -print_certs
copy
View structure info
$ openssl pkcs7 -in [file.p7b] -text -noout
copy
Convert DER to PEM
$ openssl pkcs7 -in [file.der] -inform DER -out [file.pem]
copy

SYNOPSIS

openssl pkcs7 [options]

DESCRIPTION

openssl pkcs7 processes PKCS#7 structures (.p7b files), which contain certificate chains without private keys. This format is commonly used to distribute CA certificate bundles and intermediate certificates.The -print_certs option extracts individual PEM certificates from the chain. Format conversion between PEM and DER encodings is supported with -inform and -outform. The -text option displays the structure in human-readable form.

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

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid