2 {- OpenSSL::safe::output_do_not_edit_headers(); -}
6 openssl-crl - CRL command
12 [B<-inform> B<DER>|B<PEM>]
13 [B<-outform> B<DER>|B<PEM>]
15 [B<-keyform> B<DER>|B<PEM>|B<P12>]
20 [B<-gendelta> I<filename>]
31 {- $OpenSSL::safe::opt_name_synopsis -}
32 {- $OpenSSL::safe::opt_trust_synopsis -}
33 {- $OpenSSL::safe::opt_provider_synopsis -}
37 This command processes CRL files in DER or PEM format.
45 Print out a usage message.
47 =item B<-inform> B<DER>|B<PEM>
49 The CRL input format; unspecified by default.
50 See L<openssl-format-options(1)> for details.
52 =item B<-outform> B<DER>|B<PEM>
54 The CRL output format; the default is B<PEM>.
55 See L<openssl-format-options(1)> for details.
57 =item B<-key> I<filename>
59 The private key to be used to sign the CRL.
61 =item B<-keyform> B<DER>|B<PEM>|B<P12>
63 The format of the private key file; unspecified by default.
64 See L<openssl-format-options(1)> for details.
66 =item B<-in> I<filename>
68 This specifies the input filename to read from or standard input if this
69 option is not specified.
71 =item B<-out> I<filename>
73 Specifies the output filename to write to or standard output by
76 =item B<-gendelta> I<filename>
78 Output a comparison of the main CRL and the one specified here.
82 Corrupt the signature before writing it; this can be useful
87 Specify the date output format. Values are: rfc_822 and iso_8601.
92 Print out the CRL in text form.
96 Verify the signature in the CRL. If the verification fails,
97 the program will immediately exit, i.e. further option processing
98 (e.g. B<-gendelta>) is skipped.
100 This option is implicitly enabled if any of B<-CApath>, B<-CAfile>
101 or B<-CAstore> is specified.
105 Don't output the encoded version of the CRL.
107 =item B<-fingerprint>
109 Output the fingerprint of the CRL.
113 Output the number of the CRL.
117 Output a hash of the issuer name. This can be use to lookup CRLs in
118 a directory by issuer name.
122 Outputs the "hash" of the CRL issuer name using the older algorithm
123 as used by OpenSSL before version 1.0.0.
127 Output the issuer name.
131 Output the lastUpdate field.
135 Output the nextUpdate field.
137 {- $OpenSSL::safe::opt_name_item -}
139 {- $OpenSSL::safe::opt_trust_item -}
141 {- $OpenSSL::safe::opt_provider_item -}
147 Convert a CRL file from PEM to DER:
149 openssl crl -in crl.pem -outform DER -out crl.der
151 Output the text form of a DER encoded certificate:
153 openssl crl -in crl.der -text -noout
157 Ideally it should be possible to create a CRL using appropriate options
163 L<openssl-crl2pkcs7(1)>,
166 L<ossl_store-file(7)>
170 Since OpenSSL 3.3, the B<-verify> option will exit with 1 on failure.
174 Copyright 2000-2024 The OpenSSL Project Authors. All Rights Reserved.
176 Licensed under the Apache License 2.0 (the "License"). You may not use
177 this file except in compliance with the License. You can obtain a copy
178 in the file LICENSE in the source distribution or at
179 L<https://www.openssl.org/source/license.html>.