1CRL2PKCS7(1) OpenSSL CRL2PKCS7(1)
2
3
4
6 openssl-crl2pkcs7, crl2pkcs7 - Create a PKCS#7 structure from a CRL and
7 certificates
8
10 openssl crl2pkcs7 [-help] [-inform PEM|DER] [-outform PEM|DER] [-in
11 filename] [-out filename] [-certfile filename] [-nocrl]
12
14 The crl2pkcs7 command takes an optional CRL and one or more
15 certificates and converts them into a PKCS#7 degenerate "certificates
16 only" structure.
17
19 -help
20 Print out a usage message.
21
22 -inform DER|PEM
23 This specifies the CRL input format. DER format is DER encoded CRL
24 structure.PEM (the default) is a base64 encoded version of the DER
25 form with header and footer lines. The default format is PEM.
26
27 -outform DER|PEM
28 This specifies the PKCS#7 structure output format. DER format is
29 DER encoded PKCS#7 structure.PEM (the default) is a base64 encoded
30 version of the DER form with header and footer lines. The default
31 format is PEM.
32
33 -in filename
34 This specifies the input filename to read a CRL from or standard
35 input if this option is not specified.
36
37 -out filename
38 Specifies the output filename to write the PKCS#7 structure to or
39 standard output by default.
40
41 -certfile filename
42 Specifies a filename containing one or more certificates in PEM
43 format. All certificates in the file will be added to the PKCS#7
44 structure. This option can be used more than once to read
45 certificates form multiple files.
46
47 -nocrl
48 Normally a CRL is included in the output file. With this option no
49 CRL is included in the output file and a CRL is not read from the
50 input file.
51
53 Create a PKCS#7 structure from a certificate and CRL:
54
55 openssl crl2pkcs7 -in crl.pem -certfile cert.pem -out p7.pem
56
57 Creates a PKCS#7 structure in DER format with no CRL from several
58 different certificates:
59
60 openssl crl2pkcs7 -nocrl -certfile newcert.pem
61 -certfile demoCA/cacert.pem -outform DER -out p7.der
62
64 The output file is a PKCS#7 signed data structure containing no signers
65 and just certificates and an optional CRL.
66
67 This utility can be used to send certificates and CAs to Netscape as
68 part of the certificate enrollment process. This involves sending the
69 DER encoded output as MIME type application/x-x509-user-cert.
70
71 The PEM encoded form with the header and footer lines removed can be
72 used to install user certificates and CAs in MSIE using the Xenroll
73 control.
74
76 pkcs7(1)
77
79 Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved.
80
81 Licensed under the OpenSSL license (the "License"). You may not use
82 this file except in compliance with the License. You can obtain a copy
83 in the file LICENSE in the source distribution or at
84 <https://www.openssl.org/source/license.html>.
85
86
87
881.1.1d 2019-10-03 CRL2PKCS7(1)