evp_pkey_ctx_free_old_ops(): Make sure to assign NULL to freed pointers
[openssl.git] / doc / man1 / openssl-crl.pod.in
1 =pod
2
3 =begin comment
4 {- join("\n", @autowarntext) -}
5
6 =end comment
7
8 =head1 NAME
9
10 openssl-crl - CRL utility
11
12 =head1 SYNOPSIS
13
14 B<openssl> B<crl>
15 [B<-help>]
16 [B<-inform> B<DER>|B<PEM>]
17 [B<-outform> B<DER>|B<PEM>]
18 [B<-keyform> B<DER>|B<PEM>|B<ENGINE>]
19 [B<-text>]
20 [B<-in> I<filename>]
21 [B<-out> I<filename>]
22 [B<-nameopt> I<option>]
23 [B<-noout>]
24 [B<-hash>]
25 [B<-issuer>]
26 [B<-lastupdate>]
27 [B<-nextupdate>]
28 {- $OpenSSL::safe::opt_trust_synopsis -}
29
30 =for openssl ifdef hash_old
31
32 =head1 DESCRIPTION
33
34 This command processes CRL files in DER or PEM format.
35
36 =head1 OPTIONS
37
38 =over 4
39
40 =item B<-help>
41
42 Print out a usage message.
43
44 =item B<-inform> B<DER>|B<PEM>, B<-outform> B<DER>|B<PEM>
45
46 The input and output formats of the CRL; the default is B<PEM>.
47 See L<openssl(1)/Format Options> for details.
48
49 =item B<-keyform> B<DER>|B<PEM>|B<ENGINE>
50
51 The format of the private key file; the default is B<PEM>.
52 See L<openssl(1)/Format Options> for details.
53
54 =item B<-in> I<filename>
55
56 This specifies the input filename to read from or standard input if this
57 option is not specified.
58
59 =item B<-out> I<filename>
60
61 Specifies the output filename to write to or standard output by
62 default.
63
64 =item B<-text>
65
66 Print out the CRL in text form.
67
68 =item B<-nameopt> I<option>
69
70 Option which determines how the subject or issuer names are displayed. See
71 the description of B<-nameopt> in L<openssl-x509(1)>.
72
73 =item B<-noout>
74
75 Don't output the encoded version of the CRL.
76
77 =item B<-hash>
78
79 Output a hash of the issuer name. This can be use to lookup CRLs in
80 a directory by issuer name.
81
82 =item B<-hash_old>
83
84 Outputs the "hash" of the CRL issuer name using the older algorithm
85 as used by OpenSSL before version 1.0.0.
86
87 =item B<-issuer>
88
89 Output the issuer name.
90
91 =item B<-lastupdate>
92
93 Output the lastUpdate field.
94
95 =item B<-nextupdate>
96
97 Output the nextUpdate field.
98
99 {- $OpenSSL::safe::opt_trust_item -}
100
101 =back
102
103 =head1 EXAMPLES
104
105 Convert a CRL file from PEM to DER:
106
107  openssl crl -in crl.pem -outform DER -out crl.der
108
109 Output the text form of a DER encoded certificate:
110
111  openssl crl -in crl.der -inform DER -text -noout
112
113 =head1 BUGS
114
115 Ideally it should be possible to create a CRL using appropriate options
116 and files too.
117
118 =head1 SEE ALSO
119
120 L<openssl(1)>,
121 L<openssl-crl2pkcs7(1)>,
122 L<openssl-ca(1)>,
123 L<openssl-x509(1)>
124
125 =head1 COPYRIGHT
126
127 Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
128
129 Licensed under the Apache License 2.0 (the "License").  You may not use
130 this file except in compliance with the License.  You can obtain a copy
131 in the file LICENSE in the source distribution or at
132 L<https://www.openssl.org/source/license.html>.
133
134 =cut