crl2pkcs7.1s
CRL to PKCS#7 format converter
TLDR
SYNOPSIS
openssl crl2pkcs7 [options] [-in file] [-out file]
DESCRIPTION
openssl crl2pkcs7 converts Certificate Revocation Lists (CRLs) and X.509 certificates into PKCS#7 format. PKCS#7 is a standard format for storing cryptographic data, often used for certificate bundles and signed data.The command is useful for creating PKCS#7 structures that combine CRLs with their associated CA certificates. This format is commonly required by certain applications and protocols for distributing revocation information along with certificate chains.The -nocrl option allows creating PKCS#7 files containing only certificates, which is useful for distributing certificate bundles in a widely-supported format.
PARAMETERS
-in FILE
Input CRL file (can be specified multiple times).-out FILE
Output PKCS#7 file.-certfile FILE
File containing certificates to include.-nocrl
Don't include the CRL in the output (certificates only).-inform FORMAT
Input CRL format: PEM or DER.-outform FORMAT
Output PKCS#7 format: PEM or DER.
CAVEATS
The PKCS#7 output is a "degenerate" form containing only certificates and/or CRLs, with no signed content. Some applications expect the .p7b or .p7c extension for these files. The certificates in the output are not validated; any PEM certificates in the certfile are included.
HISTORY
PKCS#7 was defined by RSA Security as part of the Public-Key Cryptography Standards. OpenSSL's crl2pkcs7 command provides conversion between the X.509 CRL format and PKCS#7, enabling interoperability with systems that use the PKCS#7 container format.
