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