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