1OPENSSL-CRL2PKCS7(1ossl)            OpenSSL           OPENSSL-CRL2PKCS7(1ossl)
2
3
4

NAME

6       openssl-crl2pkcs7 - Create a PKCS#7 structure from a CRL and
7       certificates
8

SYNOPSIS

10       openssl crl2pkcs7 [-help] [-inform DER|PEM] [-outform DER|PEM] [-in
11       filename] [-out filename] [-certfile filename] [-nocrl] [-provider
12       name] [-provider-path path] [-propquery propq]
13

DESCRIPTION

15       This command takes an optional CRL and one or more certificates and
16       converts them into a PKCS#7 degenerate "certificates only" structure.
17

OPTIONS

19       -help
20           Print out a usage message.
21
22       -inform DER|PEM
23           The input format of the CRL; the default is PEM.  See
24           openssl-format-options(1) for details.
25
26       -outform DER|PEM
27           The output format of the PKCS#7 object; the default is PEM.  See
28           openssl-format-options(1) for details.
29
30       -in filename
31           This specifies the input filename to read a CRL from or standard
32           input if this option is not specified.
33
34       -out filename
35           Specifies the output filename to write the PKCS#7 structure to or
36           standard output by default.
37
38       -certfile filename
39           Specifies a filename containing one or more certificates in PEM
40           format.  All certificates in the file will be added to the PKCS#7
41           structure. This option can be used more than once to read
42           certificates from multiple files.
43
44       -nocrl
45           Normally a CRL is included in the output file. With this option no
46           CRL is included in the output file and a CRL is not read from the
47           input file.
48
49       -provider name
50       -provider-path path
51       -propquery propq
52           See "Provider Options" in openssl(1), provider(7), and property(7).
53

EXAMPLES

55       Create a PKCS#7 structure from a certificate and CRL:
56
57        openssl crl2pkcs7 -in crl.pem -certfile cert.pem -out p7.pem
58
59       Creates a PKCS#7 structure in DER format with no CRL from several
60       different certificates:
61
62        openssl crl2pkcs7 -nocrl -certfile newcert.pem
63               -certfile demoCA/cacert.pem -outform DER -out p7.der
64

NOTES

66       The output file is a PKCS#7 signed data structure containing no signers
67       and just certificates and an optional CRL.
68
69       This command can be used to send certificates and CAs to Netscape as
70       part of the certificate enrollment process. This involves sending the
71       DER encoded output as MIME type application/x-x509-user-cert.
72
73       The PEM encoded form with the header and footer lines removed can be
74       used to install user certificates and CAs in MSIE using the Xenroll
75       control.
76

SEE ALSO

78       openssl(1), openssl-pkcs7(1)
79
81       Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
82
83       Licensed under the Apache License 2.0 (the "License").  You may not use
84       this file except in compliance with the License.  You can obtain a copy
85       in the file LICENSE in the source distribution or at
86       <https://www.openssl.org/source/license.html>.
87
88
89
903.0.5                             2022-11-01          OPENSSL-CRL2PKCS7(1ossl)
Impressum