| 
									
										
										
										
											1999-11-14 05:28:01 +08:00
										 |  |  | =pod | 
					
						
							| 
									
										
										
										
											2019-10-31 11:35:08 +08:00
										 |  |  | {- OpenSSL::safe::output_do_not_edit_headers(); -} | 
					
						
							| 
									
										
										
										
											2019-10-13 05:45:56 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											1999-11-14 05:28:01 +08:00
										 |  |  | =head1 NAME | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-19 00:52:12 +08:00
										 |  |  | openssl-crl - CRL command | 
					
						
							| 
									
										
										
										
											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>] | 
					
						
							| 
									
										
										
											
												Document most missing options
Add cmd-nits make target.
Listing options should stop when it hits the "parameters" separator.
Add missing .pod.in files to doc/man1/build.info
Tweak find-doc-nits to try openssl-XXX before XXX for POD files and
change an error messavge to be more useful.
Fix the following pages: ca, cms, crl, dgst, enc,
engine, errstr, gendsa, genrsa, list, ocsp, passwd, pkcs7, pkcs12, rand,
rehash, req, rsautil, s_server, speed, s_time,
sess_id, smime, srp, ts, x509.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10873)
											
										 
											2020-01-17 02:40:52 +08:00
										 |  |  | [B<-key> I<filename>] | 
					
						
							| 
									
										
										
										
											2020-05-06 19:51:50 +08:00
										 |  |  | [B<-keyform> B<DER>|B<PEM>|B<P12>] | 
					
						
							| 
									
										
										
										
											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>] | 
					
						
							| 
									
										
										
											
												Document most missing options
Add cmd-nits make target.
Listing options should stop when it hits the "parameters" separator.
Add missing .pod.in files to doc/man1/build.info
Tweak find-doc-nits to try openssl-XXX before XXX for POD files and
change an error messavge to be more useful.
Fix the following pages: ca, cms, crl, dgst, enc,
engine, errstr, gendsa, genrsa, list, ocsp, passwd, pkcs7, pkcs12, rand,
rehash, req, rsautil, s_server, speed, s_time,
sess_id, smime, srp, ts, x509.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10873)
											
										 
											2020-01-17 02:40:52 +08:00
										 |  |  | [B<-gendelta> I<filename>] | 
					
						
							|  |  |  | [B<-badsig>] | 
					
						
							|  |  |  | [B<-verify>] | 
					
						
							| 
									
										
										
										
											1999-11-14 05:28:01 +08:00
										 |  |  | [B<-noout>] | 
					
						
							|  |  |  | [B<-hash>] | 
					
						
							| 
									
										
										
											
												Document most missing options
Add cmd-nits make target.
Listing options should stop when it hits the "parameters" separator.
Add missing .pod.in files to doc/man1/build.info
Tweak find-doc-nits to try openssl-XXX before XXX for POD files and
change an error messavge to be more useful.
Fix the following pages: ca, cms, crl, dgst, enc,
engine, errstr, gendsa, genrsa, list, ocsp, passwd, pkcs7, pkcs12, rand,
rehash, req, rsautil, s_server, speed, s_time,
sess_id, smime, srp, ts, x509.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10873)
											
										 
											2020-01-17 02:40:52 +08:00
										 |  |  | [B<-hash_old>] | 
					
						
							|  |  |  | [B<-fingerprint>] | 
					
						
							|  |  |  | [B<-crlnumber>] | 
					
						
							| 
									
										
										
										
											1999-11-14 05:28:01 +08:00
										 |  |  | [B<-issuer>] | 
					
						
							|  |  |  | [B<-lastupdate>] | 
					
						
							|  |  |  | [B<-nextupdate>] | 
					
						
							| 
									
										
										
										
											2019-10-25 11:02:09 +08:00
										 |  |  | {- $OpenSSL::safe::opt_name_synopsis -} | 
					
						
							| 
									
										
										
										
											2019-10-13 05:45:56 +08:00
										 |  |  | {- $OpenSSL::safe::opt_trust_synopsis -} | 
					
						
							| 
									
										
										
										
											2020-02-25 12:29:30 +08:00
										 |  |  | {- $OpenSSL::safe::opt_provider_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. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-05-06 19:51:50 +08:00
										 |  |  | =item B<-inform> B<DER>|B<PEM> | 
					
						
							| 
									
										
										
										
											1999-11-14 05:28:01 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-05-06 19:51:50 +08:00
										 |  |  | The CRL input format. | 
					
						
							|  |  |  | This option has no effect and is retained for backward compatibility only. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | =item B<-outform> B<DER>|B<PEM> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | The CRL output format; the default is B<PEM>. | 
					
						
							| 
									
										
										
										
											2019-10-10 09:48:33 +08:00
										 |  |  | See L<openssl(1)/Format Options> for details. | 
					
						
							| 
									
										
										
										
											1999-11-14 05:28:01 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
											
												Document most missing options
Add cmd-nits make target.
Listing options should stop when it hits the "parameters" separator.
Add missing .pod.in files to doc/man1/build.info
Tweak find-doc-nits to try openssl-XXX before XXX for POD files and
change an error messavge to be more useful.
Fix the following pages: ca, cms, crl, dgst, enc,
engine, errstr, gendsa, genrsa, list, ocsp, passwd, pkcs7, pkcs12, rand,
rehash, req, rsautil, s_server, speed, s_time,
sess_id, smime, srp, ts, x509.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10873)
											
										 
											2020-01-17 02:40:52 +08:00
										 |  |  | =item B<-key> I<filename> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | The private key to be used to sign the CRL. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-05-06 19:51:50 +08:00
										 |  |  | =item B<-keyform> B<DER>|B<PEM>|B<P12> | 
					
						
							| 
									
										
										
										
											1999-11-14 05:28:01 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-05-06 19:51:50 +08:00
										 |  |  | The format of the private key file. | 
					
						
							|  |  |  | This option has no effect and is retained for backward compatibility only. | 
					
						
							| 
									
										
										
										
											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. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
											
												Document most missing options
Add cmd-nits make target.
Listing options should stop when it hits the "parameters" separator.
Add missing .pod.in files to doc/man1/build.info
Tweak find-doc-nits to try openssl-XXX before XXX for POD files and
change an error messavge to be more useful.
Fix the following pages: ca, cms, crl, dgst, enc,
engine, errstr, gendsa, genrsa, list, ocsp, passwd, pkcs7, pkcs12, rand,
rehash, req, rsautil, s_server, speed, s_time,
sess_id, smime, srp, ts, x509.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10873)
											
										 
											2020-01-17 02:40:52 +08:00
										 |  |  | =item B<-gendelta> I<filename> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Output a comparison of the main CRL and the one specified here. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | =item B<-badsig> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Corrupt the signature before writing it; this can be useful | 
					
						
							|  |  |  | for testing. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											1999-11-14 05:28:01 +08:00
										 |  |  | =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
										 |  |  | 
 | 
					
						
							| 
									
										
										
											
												Document most missing options
Add cmd-nits make target.
Listing options should stop when it hits the "parameters" separator.
Add missing .pod.in files to doc/man1/build.info
Tweak find-doc-nits to try openssl-XXX before XXX for POD files and
change an error messavge to be more useful.
Fix the following pages: ca, cms, crl, dgst, enc,
engine, errstr, gendsa, genrsa, list, ocsp, passwd, pkcs7, pkcs12, rand,
rehash, req, rsautil, s_server, speed, s_time,
sess_id, smime, srp, ts, x509.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10873)
											
										 
											2020-01-17 02:40:52 +08:00
										 |  |  | =item B<-verify> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Verify the signature in the CRL. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											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
										 |  |  | 
 | 
					
						
							| 
									
										
										
											
												Document most missing options
Add cmd-nits make target.
Listing options should stop when it hits the "parameters" separator.
Add missing .pod.in files to doc/man1/build.info
Tweak find-doc-nits to try openssl-XXX before XXX for POD files and
change an error messavge to be more useful.
Fix the following pages: ca, cms, crl, dgst, enc,
engine, errstr, gendsa, genrsa, list, ocsp, passwd, pkcs7, pkcs12, rand,
rehash, req, rsautil, s_server, speed, s_time,
sess_id, smime, srp, ts, x509.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10873)
											
										 
											2020-01-17 02:40:52 +08:00
										 |  |  | =item B<-fingerprint> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Output the fingerprint of the CRL. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | =item B<-crlnumber> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Output the number 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-25 11:02:09 +08:00
										 |  |  | {- $OpenSSL::safe::opt_name_item -} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-10-13 05:45:56 +08:00
										 |  |  | {- $OpenSSL::safe::opt_trust_item -} | 
					
						
							| 
									
										
										
										
											1999-11-14 05:28:01 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-25 12:29:30 +08:00
										 |  |  | {- $OpenSSL::safe::opt_provider_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: | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-05-06 19:51:50 +08:00
										 |  |  |  openssl crl -in crl.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
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-05-06 19:51:50 +08:00
										 |  |  | =head1 HISTORY | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | The B<-inform> and B<-keyform> options have become obsolete in OpenSSL 3.0.0 | 
					
						
							|  |  |  | and have no effect. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-05-18 23:44:05 +08:00
										 |  |  | =head1 COPYRIGHT | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-04-23 20:55:52 +08:00
										 |  |  | Copyright 2000-2020 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 |