1 | =pod
|
---|
2 | {- OpenSSL::safe::output_do_not_edit_headers(); -}
|
---|
3 |
|
---|
4 | =head1 NAME
|
---|
5 |
|
---|
6 | openssl-crl - CRL command
|
---|
7 |
|
---|
8 | =head1 SYNOPSIS
|
---|
9 |
|
---|
10 | B<openssl> B<crl>
|
---|
11 | [B<-help>]
|
---|
12 | [B<-inform> B<DER>|B<PEM>]
|
---|
13 | [B<-outform> B<DER>|B<PEM>]
|
---|
14 | [B<-key> I<filename>]
|
---|
15 | [B<-keyform> B<DER>|B<PEM>|B<P12>]
|
---|
16 | [B<-dateopt>]
|
---|
17 | [B<-text>]
|
---|
18 | [B<-in> I<filename>]
|
---|
19 | [B<-out> I<filename>]
|
---|
20 | [B<-gendelta> I<filename>]
|
---|
21 | [B<-badsig>]
|
---|
22 | [B<-verify>]
|
---|
23 | [B<-noout>]
|
---|
24 | [B<-hash>]
|
---|
25 | [B<-hash_old>]
|
---|
26 | [B<-fingerprint>]
|
---|
27 | [B<-crlnumber>]
|
---|
28 | [B<-issuer>]
|
---|
29 | [B<-lastupdate>]
|
---|
30 | [B<-nextupdate>]
|
---|
31 | {- $OpenSSL::safe::opt_name_synopsis -}
|
---|
32 | {- $OpenSSL::safe::opt_trust_synopsis -}
|
---|
33 | {- $OpenSSL::safe::opt_provider_synopsis -}
|
---|
34 |
|
---|
35 | =head1 DESCRIPTION
|
---|
36 |
|
---|
37 | This command processes CRL files in DER or PEM format.
|
---|
38 |
|
---|
39 | =head1 OPTIONS
|
---|
40 |
|
---|
41 | =over 4
|
---|
42 |
|
---|
43 | =item B<-help>
|
---|
44 |
|
---|
45 | Print out a usage message.
|
---|
46 |
|
---|
47 | =item B<-inform> B<DER>|B<PEM>
|
---|
48 |
|
---|
49 | The CRL input format; unspecified by default.
|
---|
50 | See L<openssl-format-options(1)> for details.
|
---|
51 |
|
---|
52 | =item B<-outform> B<DER>|B<PEM>
|
---|
53 |
|
---|
54 | The CRL output format; the default is B<PEM>.
|
---|
55 | See L<openssl-format-options(1)> for details.
|
---|
56 |
|
---|
57 | =item B<-key> I<filename>
|
---|
58 |
|
---|
59 | The private key to be used to sign the CRL.
|
---|
60 |
|
---|
61 | =item B<-keyform> B<DER>|B<PEM>|B<P12>
|
---|
62 |
|
---|
63 | The format of the private key file; unspecified by default.
|
---|
64 | See L<openssl-format-options(1)> for details.
|
---|
65 |
|
---|
66 | =item B<-in> I<filename>
|
---|
67 |
|
---|
68 | This specifies the input filename to read from or standard input if this
|
---|
69 | option is not specified.
|
---|
70 |
|
---|
71 | =item B<-out> I<filename>
|
---|
72 |
|
---|
73 | Specifies the output filename to write to or standard output by
|
---|
74 | default.
|
---|
75 |
|
---|
76 | =item B<-gendelta> I<filename>
|
---|
77 |
|
---|
78 | Output a comparison of the main CRL and the one specified here.
|
---|
79 |
|
---|
80 | =item B<-badsig>
|
---|
81 |
|
---|
82 | Corrupt the signature before writing it; this can be useful
|
---|
83 | for testing.
|
---|
84 |
|
---|
85 | =item B<-dateopt>
|
---|
86 |
|
---|
87 | Specify the date output format. Values are: rfc_822 and iso_8601.
|
---|
88 | Defaults to rfc_822.
|
---|
89 |
|
---|
90 | =item B<-text>
|
---|
91 |
|
---|
92 | Print out the CRL in text form.
|
---|
93 |
|
---|
94 | =item B<-verify>
|
---|
95 |
|
---|
96 | Verify the signature in the CRL.
|
---|
97 |
|
---|
98 | =item B<-noout>
|
---|
99 |
|
---|
100 | Don't output the encoded version of the CRL.
|
---|
101 |
|
---|
102 | =item B<-fingerprint>
|
---|
103 |
|
---|
104 | Output the fingerprint of the CRL.
|
---|
105 |
|
---|
106 | =item B<-crlnumber>
|
---|
107 |
|
---|
108 | Output the number of the CRL.
|
---|
109 |
|
---|
110 | =item B<-hash>
|
---|
111 |
|
---|
112 | Output a hash of the issuer name. This can be use to lookup CRLs in
|
---|
113 | a directory by issuer name.
|
---|
114 |
|
---|
115 | =item B<-hash_old>
|
---|
116 |
|
---|
117 | Outputs the "hash" of the CRL issuer name using the older algorithm
|
---|
118 | as used by OpenSSL before version 1.0.0.
|
---|
119 |
|
---|
120 | =item B<-issuer>
|
---|
121 |
|
---|
122 | Output the issuer name.
|
---|
123 |
|
---|
124 | =item B<-lastupdate>
|
---|
125 |
|
---|
126 | Output the lastUpdate field.
|
---|
127 |
|
---|
128 | =item B<-nextupdate>
|
---|
129 |
|
---|
130 | Output the nextUpdate field.
|
---|
131 |
|
---|
132 | {- $OpenSSL::safe::opt_name_item -}
|
---|
133 |
|
---|
134 | {- $OpenSSL::safe::opt_trust_item -}
|
---|
135 |
|
---|
136 | {- $OpenSSL::safe::opt_provider_item -}
|
---|
137 |
|
---|
138 | =back
|
---|
139 |
|
---|
140 | =head1 EXAMPLES
|
---|
141 |
|
---|
142 | Convert a CRL file from PEM to DER:
|
---|
143 |
|
---|
144 | openssl crl -in crl.pem -outform DER -out crl.der
|
---|
145 |
|
---|
146 | Output the text form of a DER encoded certificate:
|
---|
147 |
|
---|
148 | openssl crl -in crl.der -text -noout
|
---|
149 |
|
---|
150 | =head1 BUGS
|
---|
151 |
|
---|
152 | Ideally it should be possible to create a CRL using appropriate options
|
---|
153 | and files too.
|
---|
154 |
|
---|
155 | =head1 SEE ALSO
|
---|
156 |
|
---|
157 | L<openssl(1)>,
|
---|
158 | L<openssl-crl2pkcs7(1)>,
|
---|
159 | L<openssl-ca(1)>,
|
---|
160 | L<openssl-x509(1)>,
|
---|
161 | L<ossl_store-file(7)>
|
---|
162 |
|
---|
163 | =head1 COPYRIGHT
|
---|
164 |
|
---|
165 | Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
|
---|
166 |
|
---|
167 | Licensed under the Apache License 2.0 (the "License"). You may not use
|
---|
168 | this file except in compliance with the License. You can obtain a copy
|
---|
169 | in the file LICENSE in the source distribution or at
|
---|
170 | L<https://www.openssl.org/source/license.html>.
|
---|
171 |
|
---|
172 | =cut
|
---|