]> git.ipfire.org Git - thirdparty/openssl.git/blame - doc/man1/openssl-crl.pod
Deprecate unprefixed manual entries for openssl commands
[thirdparty/openssl.git] / doc / man1 / openssl-crl.pod
CommitLineData
938ead8f
DSH
1=pod
2
3=head1 NAME
4
b6b66573 5openssl-crl - CRL utility
938ead8f
DSH
6
7=head1 SYNOPSIS
8
9B<openssl> B<crl>
169394d4 10[B<-help>]
938ead8f
DSH
11[B<-inform PEM|DER>]
12[B<-outform PEM|DER>]
13[B<-text>]
14[B<-in filename>]
15[B<-out filename>]
fc1d88f0 16[B<-nameopt option>]
938ead8f
DSH
17[B<-noout>]
18[B<-hash>]
19[B<-issuer>]
20[B<-lastupdate>]
21[B<-nextupdate>]
22[B<-CAfile file>]
23[B<-CApath dir>]
24
25=head1 DESCRIPTION
26
27The B<crl> command processes CRL files in DER or PEM format.
28
3dfda1a6 29=head1 OPTIONS
938ead8f
DSH
30
31=over 4
32
169394d4
MR
33=item B<-help>
34
35Print out a usage message.
36
938ead8f
DSH
37=item B<-inform DER|PEM>
38
39This specifies the input format. B<DER> format is DER encoded CRL
69396b41 40structure. B<PEM> (the default) is a base64 encoded version of
938ead8f
DSH
41the DER form with header and footer lines.
42
43=item B<-outform DER|PEM>
44
7477c83e
TM
45This specifies the output format, the options have the same meaning and default
46as the B<-inform> option.
938ead8f
DSH
47
48=item B<-in filename>
49
50This specifies the input filename to read from or standard input if this
51option is not specified.
52
53=item B<-out filename>
54
c4de074e 55Specifies the output filename to write to or standard output by
938ead8f
DSH
56default.
57
58=item B<-text>
59
c4de074e 60Print out the CRL in text form.
938ead8f 61
fc1d88f0
RS
62=item B<-nameopt option>
63
c4de074e 64Option which determines how the subject or issuer names are displayed. See
9b86974e 65the description of B<-nameopt> in L<x509(1)>.
fc1d88f0 66
938ead8f
DSH
67=item B<-noout>
68
c4de074e 69Don't output the encoded version of the CRL.
938ead8f
DSH
70
71=item B<-hash>
72
c4de074e 73Output a hash of the issuer name. This can be use to lookup CRLs in
938ead8f
DSH
74a directory by issuer name.
75
dbb7654d
DSH
76=item B<-hash_old>
77
c4de074e 78Outputs the "hash" of the CRL issuer name using the older algorithm
e90fc053 79as used by OpenSSL before version 1.0.0.
dbb7654d 80
938ead8f
DSH
81=item B<-issuer>
82
c4de074e 83Output the issuer name.
938ead8f
DSH
84
85=item B<-lastupdate>
86
c4de074e 87Output the lastUpdate field.
938ead8f
DSH
88
89=item B<-nextupdate>
90
c4de074e 91Output the nextUpdate field.
938ead8f
DSH
92
93=item B<-CAfile file>
94
c4de074e
P
95Verify the signature on a CRL by looking up the issuing certificate in
96B<file>.
938ead8f
DSH
97
98=item B<-CApath dir>
99
c4de074e 100Verify the signature on a CRL by looking up the issuing certificate in
938ead8f
DSH
101B<dir>. This directory must be a standard certificate directory: that
102is a hash of each subject name (using B<x509 -hash>) should be linked
103to each certificate.
104
105=back
106
0cd4498b
DSH
107=head1 NOTES
108
109The PEM CRL format uses the header and footer lines:
110
111 -----BEGIN X509 CRL-----
112 -----END X509 CRL-----
113
938ead8f
DSH
114=head1 EXAMPLES
115
116Convert a CRL file from PEM to DER:
117
118 openssl crl -in crl.pem -outform DER -out crl.der
119
120Output the text form of a DER encoded certificate:
121
785e614a 122 openssl crl -in crl.der -inform DER -text -noout
938ead8f
DSH
123
124=head1 BUGS
125
126Ideally it should be possible to create a CRL using appropriate options
127and files too.
128
69396b41
UM
129=head1 SEE ALSO
130
b6b66573
DMSP
131L<openssl(1)>,
132L<openssl-crl2pkcs7(1)>,
133L<openssl-ca(1)>,
134L<openssl-x509(1)>
938ead8f 135
e2f92610
RS
136=head1 COPYRIGHT
137
b6b66573 138Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
e2f92610 139
449040b4 140Licensed under the Apache License 2.0 (the "License"). You may not use
e2f92610
RS
141this file except in compliance with the License. You can obtain a copy
142in the file LICENSE in the source distribution or at
143L<https://www.openssl.org/source/license.html>.
144
145=cut