VirtualBox

source: vbox/trunk/src/libs/openssl-1.1.1l/doc/man1/crl2pkcs7.pod@ 91772

Last change on this file since 91772 was 91772, checked in by vboxsync, 3 years ago

openssl-1.1.1l: Applied and adjusted our OpenSSL changes to 1.1.1l. bugref:10126

File size: 2.8 KB
Line 
1=pod
2
3=head1 NAME
4
5openssl-crl2pkcs7,
6crl2pkcs7 - Create a PKCS#7 structure from a CRL and certificates
7
8=head1 SYNOPSIS
9
10B<openssl> B<crl2pkcs7>
11[B<-help>]
12[B<-inform PEM|DER>]
13[B<-outform PEM|DER>]
14[B<-in filename>]
15[B<-out filename>]
16[B<-certfile filename>]
17[B<-nocrl>]
18
19=head1 DESCRIPTION
20
21The B<crl2pkcs7> command takes an optional CRL and one or more
22certificates and converts them into a PKCS#7 degenerate "certificates
23only" structure.
24
25=head1 OPTIONS
26
27=over 4
28
29=item B<-help>
30
31Print out a usage message.
32
33=item B<-inform DER|PEM>
34
35This specifies the CRL input format. B<DER> format is DER encoded CRL
36structure.B<PEM> (the default) is a base64 encoded version of
37the DER form with header and footer lines. The default format is PEM.
38
39=item B<-outform DER|PEM>
40
41This specifies the PKCS#7 structure output format. B<DER> format is DER
42encoded PKCS#7 structure.B<PEM> (the default) is a base64 encoded version of
43the DER form with header and footer lines. The default format is PEM.
44
45=item B<-in filename>
46
47This specifies the input filename to read a CRL from or standard input if this
48option is not specified.
49
50=item B<-out filename>
51
52Specifies the output filename to write the PKCS#7 structure to or standard
53output by default.
54
55=item B<-certfile filename>
56
57Specifies a filename containing one or more certificates in B<PEM> format.
58All certificates in the file will be added to the PKCS#7 structure. This
59option can be used more than once to read certificates from multiple
60files.
61
62=item B<-nocrl>
63
64Normally a CRL is included in the output file. With this option no CRL is
65included in the output file and a CRL is not read from the input file.
66
67=back
68
69=head1 EXAMPLES
70
71Create a PKCS#7 structure from a certificate and CRL:
72
73 openssl crl2pkcs7 -in crl.pem -certfile cert.pem -out p7.pem
74
75Creates a PKCS#7 structure in DER format with no CRL from several
76different certificates:
77
78 openssl crl2pkcs7 -nocrl -certfile newcert.pem
79 -certfile demoCA/cacert.pem -outform DER -out p7.der
80
81=head1 NOTES
82
83The output file is a PKCS#7 signed data structure containing no signers and
84just certificates and an optional CRL.
85
86This utility can be used to send certificates and CAs to Netscape as part of
87the certificate enrollment process. This involves sending the DER encoded output
88as MIME type application/x-x509-user-cert.
89
90The B<PEM> encoded form with the header and footer lines removed can be used to
91install user certificates and CAs in MSIE using the Xenroll control.
92
93=head1 SEE ALSO
94
95L<pkcs7(1)>
96
97=head1 COPYRIGHT
98
99Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
100
101Licensed under the OpenSSL license (the "License"). You may not use
102this file except in compliance with the License. You can obtain a copy
103in the file LICENSE in the source distribution or at
104L<https://www.openssl.org/source/license.html>.
105
106=cut
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette