1999-11-14 05:28:01 +08:00
|
|
|
=pod
|
|
|
|
|
2019-10-13 05:45:56 +08:00
|
|
|
=begin comment
|
|
|
|
{- join("\n", @autowarntext) -}
|
|
|
|
|
|
|
|
=end comment
|
|
|
|
|
1999-11-14 05:28:01 +08:00
|
|
|
=head1 NAME
|
|
|
|
|
2019-08-22 07:04:41 +08:00
|
|
|
openssl-crl - CRL utility
|
1999-11-14 05:28:01 +08:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
B<openssl> B<crl>
|
2016-02-06 00:58:45 +08:00
|
|
|
[B<-help>]
|
2019-09-26 03:20:11 +08:00
|
|
|
[B<-inform> B<DER>|B<PEM>]
|
2019-10-07 01:38:52 +08:00
|
|
|
[B<-outform> B<DER>|B<PEM>]
|
2019-10-10 09:48:33 +08:00
|
|
|
[B<-keyform> B<DER>|B<PEM>|B<ENGINE>]
|
1999-11-14 05:28:01 +08:00
|
|
|
[B<-text>]
|
2019-09-26 03:20:11 +08:00
|
|
|
[B<-in> I<filename>]
|
|
|
|
[B<-out> I<filename>]
|
|
|
|
[B<-nameopt> I<option>]
|
1999-11-14 05:28:01 +08:00
|
|
|
[B<-noout>]
|
|
|
|
[B<-hash>]
|
|
|
|
[B<-issuer>]
|
|
|
|
[B<-lastupdate>]
|
|
|
|
[B<-nextupdate>]
|
2019-10-13 05:45:56 +08:00
|
|
|
{- $OpenSSL::safe::opt_trust_synopsis -}
|
1999-11-14 05:28:01 +08:00
|
|
|
|
2019-10-11 23:52:12 +08:00
|
|
|
=for openssl ifdef hash_old
|
2019-09-23 07:49:25 +08:00
|
|
|
|
1999-11-14 05:28:01 +08:00
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
Command docs: fix up command references
Almost all OpenSSL commands are in reality 'openssl cmd', so make sure
they are refered to like that and not just as the sub-command.
Self-references are avoided as much as is possible, and replaced with
"this command". In some cases, we even avoid that with a slight
rewrite of the sentence or paragrah they were in. However, in the few
cases where a self-reference is still admissible, they are done in
bold, i.e. openssl-speed.pod references itself like this:
B<openssl speed>
References to other commands are done as manual links, i.e. CA.pl.pod
references 'openssl req' like this: L<openssl-req(1)>
Some commands are examples rather than references; we enclose those in
C<>.
While we are it, we abolish "utility", replacing it with "command", or
remove it entirely in some cases.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10065)
2019-10-02 01:43:36 +08:00
|
|
|
This command processes CRL files in DER or PEM format.
|
1999-11-14 05:28:01 +08:00
|
|
|
|
2016-12-13 00:14:40 +08:00
|
|
|
=head1 OPTIONS
|
1999-11-14 05:28:01 +08:00
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2016-02-06 00:58:45 +08:00
|
|
|
=item B<-help>
|
|
|
|
|
|
|
|
Print out a usage message.
|
|
|
|
|
2019-10-10 09:48:33 +08:00
|
|
|
=item B<-inform> B<DER>|B<PEM>, B<-outform> B<DER>|B<PEM>
|
1999-11-14 05:28:01 +08:00
|
|
|
|
2019-10-10 09:48:33 +08:00
|
|
|
The input and output formats of the CRL; the default is B<PEM>.
|
|
|
|
See L<openssl(1)/Format Options> for details.
|
1999-11-14 05:28:01 +08:00
|
|
|
|
2019-10-10 09:48:33 +08:00
|
|
|
=item B<-keyform> B<DER>|B<PEM>|B<ENGINE>
|
1999-11-14 05:28:01 +08:00
|
|
|
|
2019-10-10 09:48:33 +08:00
|
|
|
The format of the private key file; the default is B<PEM>.
|
|
|
|
See L<openssl(1)/Format Options> for details.
|
1999-11-14 05:28:01 +08:00
|
|
|
|
2019-09-26 03:20:11 +08:00
|
|
|
=item B<-in> I<filename>
|
1999-11-14 05:28:01 +08:00
|
|
|
|
|
|
|
This specifies the input filename to read from or standard input if this
|
|
|
|
option is not specified.
|
|
|
|
|
2019-09-26 03:20:11 +08:00
|
|
|
=item B<-out> I<filename>
|
1999-11-14 05:28:01 +08:00
|
|
|
|
2017-03-30 05:38:30 +08:00
|
|
|
Specifies the output filename to write to or standard output by
|
1999-11-14 05:28:01 +08:00
|
|
|
default.
|
|
|
|
|
|
|
|
=item B<-text>
|
|
|
|
|
2017-03-30 05:38:30 +08:00
|
|
|
Print out the CRL in text form.
|
1999-11-14 05:28:01 +08:00
|
|
|
|
2019-09-26 03:20:11 +08:00
|
|
|
=item B<-nameopt> I<option>
|
2014-07-03 10:42:40 +08:00
|
|
|
|
2017-03-30 05:38:30 +08:00
|
|
|
Option which determines how the subject or issuer names are displayed. See
|
2019-10-02 03:57:00 +08:00
|
|
|
the description of B<-nameopt> in L<openssl-x509(1)>.
|
2014-07-03 10:42:40 +08:00
|
|
|
|
1999-11-14 05:28:01 +08:00
|
|
|
=item B<-noout>
|
|
|
|
|
2017-03-30 05:38:30 +08:00
|
|
|
Don't output the encoded version of the CRL.
|
1999-11-14 05:28:01 +08:00
|
|
|
|
|
|
|
=item B<-hash>
|
|
|
|
|
2017-03-30 05:38:30 +08:00
|
|
|
Output a hash of the issuer name. This can be use to lookup CRLs in
|
1999-11-14 05:28:01 +08:00
|
|
|
a directory by issuer name.
|
|
|
|
|
2014-04-03 20:27:08 +08:00
|
|
|
=item B<-hash_old>
|
|
|
|
|
2017-03-30 05:38:30 +08:00
|
|
|
Outputs the "hash" of the CRL issuer name using the older algorithm
|
2017-07-15 21:39:45 +08:00
|
|
|
as used by OpenSSL before version 1.0.0.
|
2014-04-03 20:27:08 +08:00
|
|
|
|
1999-11-14 05:28:01 +08:00
|
|
|
=item B<-issuer>
|
|
|
|
|
2017-03-30 05:38:30 +08:00
|
|
|
Output the issuer name.
|
1999-11-14 05:28:01 +08:00
|
|
|
|
|
|
|
=item B<-lastupdate>
|
|
|
|
|
2017-03-30 05:38:30 +08:00
|
|
|
Output the lastUpdate field.
|
1999-11-14 05:28:01 +08:00
|
|
|
|
|
|
|
=item B<-nextupdate>
|
|
|
|
|
2017-03-30 05:38:30 +08:00
|
|
|
Output the nextUpdate field.
|
1999-11-14 05:28:01 +08:00
|
|
|
|
2019-10-13 05:45:56 +08:00
|
|
|
{- $OpenSSL::safe::opt_trust_item -}
|
1999-11-14 05:28:01 +08:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=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:
|
|
|
|
|
2018-09-03 17:09:51 +08:00
|
|
|
openssl crl -in crl.der -inform DER -text -noout
|
1999-11-14 05:28:01 +08:00
|
|
|
|
|
|
|
=head1 BUGS
|
|
|
|
|
|
|
|
Ideally it should be possible to create a CRL using appropriate options
|
|
|
|
and files too.
|
|
|
|
|
2000-01-08 10:07:46 +08:00
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2019-08-22 07:04:41 +08:00
|
|
|
L<openssl(1)>,
|
|
|
|
L<openssl-crl2pkcs7(1)>,
|
|
|
|
L<openssl-ca(1)>,
|
2019-03-07 22:26:34 +08:00
|
|
|
L<openssl-x509(1)>,
|
|
|
|
L<ossl_store-file(7)>
|
1999-11-14 05:28:01 +08:00
|
|
|
|
2016-05-18 23:44:05 +08:00
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
2019-08-22 07:04:41 +08:00
|
|
|
Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
|
2016-05-18 23:44:05 +08:00
|
|
|
|
2018-12-06 21:04:11 +08:00
|
|
|
Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-05-18 23:44:05 +08:00
|
|
|
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
|