5 crl2pkcs7 - Create a PKCS#7 structure from a CRL and certificates.
9 B<openssl> B<crl2pkcs7>
14 [B<-certfile filename>]
19 The B<crl2pkcs7> command takes an optional CRL and one or more
20 certificates and converts them into a PKCS#7 degenerate "certificates
23 =head1 COMMAND OPTIONS
27 =item B<-inform DER|PEM>
29 This specifies the CRL input format. B<DER> format is DER encoded CRL
30 structure.B<PEM> (the default) is a base64 encoded version of
31 the DER form with header and footer lines.
33 =item B<-outform DER|PEM>
35 This specifies the PKCS#7 structure output format. B<DER> format is DER
36 encoded PKCS#7 structure.B<PEM> (the default) is a base64 encoded version of
37 the DER form with header and footer lines.
41 This specifies the input filename to read a CRL from or standard input if this
42 option is not specified.
44 =item B<-out filename>
46 specifies the output filename to write the PKCS#7 structure to or standard
49 =item B<-certfile filename>
51 specifies a filename containing one or more certificates in B<PEM> format.
52 All certificates in the file will be added to the PKCS#7 structure. This
53 option can be used more than once to read certificates form multiple
58 normally a CRL is included in the output file. With this option no CRL is
59 included in the output file and a CRL is not read from the input file.
65 Create a PKCS#7 structure from a certificate and CRL:
67 openssl crl2pkcs7 -in crl.pem -certfile cert.pem -out p7.pem
69 Creates a PKCS#7 structure in DER format with no CRL from several
70 different certificates:
72 openssl crl2pkcs7 -nocrl -certfile newcert.pem
73 -certfile demoCA/cacert.pem -outform DER -out p7.der
77 The output file is a PKCS#7 signed data structure containing no signers and
78 just certificates and an optional CRL.
80 This utility can be used to send certificates and CAs to Netscape as part of
81 the certificate enrollment process. This involves sending the DER encoded output
82 as MIME type application/x-x509-user-cert.
84 The B<PEM> encoded form with the header and footer lines removed can be used to
85 install user certificates and CAs in MSIE using the Xenroll control.