1999-11-13 21:28:01 +00:00
|
|
|
=pod
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
crl - CRL utility
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
B<openssl> B<crl>
|
2016-02-05 16:58:45 +00:00
|
|
|
[B<-help>]
|
1999-11-13 21:28:01 +00:00
|
|
|
[B<-inform PEM|DER>]
|
|
|
|
[B<-outform PEM|DER>]
|
|
|
|
[B<-text>]
|
|
|
|
[B<-in filename>]
|
|
|
|
[B<-out filename>]
|
2014-07-03 02:42:40 +00:00
|
|
|
[B<-nameopt option>]
|
1999-11-13 21:28:01 +00:00
|
|
|
[B<-noout>]
|
|
|
|
[B<-hash>]
|
|
|
|
[B<-issuer>]
|
|
|
|
[B<-lastupdate>]
|
|
|
|
[B<-nextupdate>]
|
|
|
|
[B<-CAfile file>]
|
|
|
|
[B<-CApath dir>]
|
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
|
|
|
The B<crl> command processes CRL files in DER or PEM format.
|
|
|
|
|
2016-12-12 16:14:40 +00:00
|
|
|
=head1 OPTIONS
|
1999-11-13 21:28:01 +00:00
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2016-02-05 16:58:45 +00:00
|
|
|
=item B<-help>
|
|
|
|
|
|
|
|
Print out a usage message.
|
|
|
|
|
1999-11-13 21:28:01 +00:00
|
|
|
=item B<-inform DER|PEM>
|
|
|
|
|
|
|
|
This specifies the input format. B<DER> format is DER encoded CRL
|
2000-01-08 02:07:46 +00:00
|
|
|
structure. B<PEM> (the default) is a base64 encoded version of
|
1999-11-13 21:28:01 +00:00
|
|
|
the DER form with header and footer lines.
|
|
|
|
|
|
|
|
=item B<-outform DER|PEM>
|
|
|
|
|
2016-05-20 12:11:46 +00:00
|
|
|
This specifies the output format, the options have the same meaning as the
|
1999-11-13 21:28:01 +00:00
|
|
|
B<-inform> option.
|
|
|
|
|
|
|
|
=item B<-in filename>
|
|
|
|
|
|
|
|
This specifies the input filename to read from or standard input if this
|
|
|
|
option is not specified.
|
|
|
|
|
|
|
|
=item B<-out filename>
|
|
|
|
|
|
|
|
specifies the output filename to write to or standard output by
|
|
|
|
default.
|
|
|
|
|
|
|
|
=item B<-text>
|
|
|
|
|
|
|
|
print out the CRL in text form.
|
|
|
|
|
2014-07-03 02:42:40 +00:00
|
|
|
=item B<-nameopt option>
|
|
|
|
|
|
|
|
option which determines how the subject or issuer names are displayed. See
|
2015-08-17 19:21:33 +00:00
|
|
|
the description of B<-nameopt> in L<x509(1)>.
|
2014-07-03 02:42:40 +00:00
|
|
|
|
1999-11-13 21:28:01 +00:00
|
|
|
=item B<-noout>
|
|
|
|
|
|
|
|
don't output the encoded version of the CRL.
|
|
|
|
|
|
|
|
=item B<-hash>
|
|
|
|
|
|
|
|
output a hash of the issuer name. This can be use to lookup CRLs in
|
|
|
|
a directory by issuer name.
|
|
|
|
|
2014-04-03 12:27:08 +00:00
|
|
|
=item B<-hash_old>
|
|
|
|
|
|
|
|
outputs the "hash" of the CRL issuer name using the older algorithm
|
|
|
|
as used by OpenSSL versions before 1.0.0.
|
|
|
|
|
1999-11-13 21:28:01 +00:00
|
|
|
=item B<-issuer>
|
|
|
|
|
|
|
|
output the issuer name.
|
|
|
|
|
|
|
|
=item B<-lastupdate>
|
|
|
|
|
|
|
|
output the lastUpdate field.
|
|
|
|
|
|
|
|
=item B<-nextupdate>
|
|
|
|
|
|
|
|
output the nextUpdate field.
|
|
|
|
|
|
|
|
=item B<-CAfile file>
|
|
|
|
|
|
|
|
verify the signature on a CRL by looking up the issuing certificate in
|
|
|
|
B<file>
|
|
|
|
|
|
|
|
=item B<-CApath dir>
|
|
|
|
|
|
|
|
verify the signature on a CRL by looking up the issuing certificate in
|
|
|
|
B<dir>. This directory must be a standard certificate directory: that
|
|
|
|
is a hash of each subject name (using B<x509 -hash>) should be linked
|
|
|
|
to each certificate.
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
2000-02-08 13:37:08 +00:00
|
|
|
=head1 NOTES
|
|
|
|
|
|
|
|
The PEM CRL format uses the header and footer lines:
|
|
|
|
|
|
|
|
-----BEGIN X509 CRL-----
|
|
|
|
-----END X509 CRL-----
|
|
|
|
|
1999-11-13 21:28:01 +00:00
|
|
|
=head1 EXAMPLES
|
|
|
|
|
|
|
|
Convert a CRL file from PEM to DER:
|
|
|
|
|
|
|
|
openssl crl -in crl.pem -outform DER -out crl.der
|
|
|
|
|
|
|
|
Output the text form of a DER encoded certificate:
|
|
|
|
|
|
|
|
openssl crl -in crl.der -text -noout
|
|
|
|
|
|
|
|
=head1 BUGS
|
|
|
|
|
|
|
|
Ideally it should be possible to create a CRL using appropriate options
|
|
|
|
and files too.
|
|
|
|
|
2000-01-08 02:07:46 +00:00
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2015-08-17 19:21:33 +00:00
|
|
|
L<crl2pkcs7(1)>, L<ca(1)>, L<x509(1)>
|
1999-11-13 21:28:01 +00:00
|
|
|
|
2016-05-18 15:44:05 +00:00
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
|
|
|
Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
|
|
|
|
|
Licensed under the OpenSSL license (the "License"). You may not use
|
|
|
|
this file except in compliance with the License. You can obtain a copy
|
|
|
|
in the file LICENSE in the source distribution or at
|
|
|
|
L<https://www.openssl.org/source/license.html>.
|
|
|
|
|
|
|
|
=cut
|