5 openssl-crl - CRL utility
11 [B<-inform> B<DER>|B<PEM>]
12 [B<-outform> B<DER>|B<PEM>]
16 [B<-nameopt> I<option>]
25 =for openssl ifdef hash_old
29 This command processes CRL files in DER or PEM format.
37 Print out a usage message.
39 =item B<-inform> B<DER>|B<PEM>
41 This specifies the input format. B<DER> format is DER encoded CRL
42 structure. B<PEM> (the default) is a base64 encoded version of
43 the DER form with header and footer lines.
45 =item B<-outform> B<DER>|B<PEM>
47 This specifies the output format, the options have the same meaning and default
48 as the B<-inform> option.
50 =item B<-in> I<filename>
52 This specifies the input filename to read from or standard input if this
53 option is not specified.
55 =item B<-out> I<filename>
57 Specifies the output filename to write to or standard output by
62 Print out the CRL in text form.
64 =item B<-nameopt> I<option>
66 Option which determines how the subject or issuer names are displayed. See
67 the description of B<-nameopt> in L<openssl-x509(1)>.
71 Don't output the encoded version of the CRL.
75 Output a hash of the issuer name. This can be use to lookup CRLs in
76 a directory by issuer name.
80 Outputs the "hash" of the CRL issuer name using the older algorithm
81 as used by OpenSSL before version 1.0.0.
85 Output the issuer name.
89 Output the lastUpdate field.
93 Output the nextUpdate field.
95 =item B<-CAfile> I<file>
97 Verify the signature on a CRL by looking up the issuing certificate in
100 =item B<-CApath> I<dir>
102 Verify the signature on a CRL by looking up the issuing certificate in
103 I<dir>. This directory must be a standard certificate directory: that
104 is a hash of each subject name (using the L<openssl-x509(1)> B<-hash> option)
105 should be linked to each certificate.
111 The PEM CRL format uses the header and footer lines:
113 -----BEGIN X509 CRL-----
114 -----END X509 CRL-----
118 Convert a CRL file from PEM to DER:
120 openssl crl -in crl.pem -outform DER -out crl.der
122 Output the text form of a DER encoded certificate:
124 openssl crl -in crl.der -inform DER -text -noout
128 Ideally it should be possible to create a CRL using appropriate options
134 L<openssl-crl2pkcs7(1)>,
140 Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
142 Licensed under the Apache License 2.0 (the "License"). You may not use
143 this file except in compliance with the License. You can obtain a copy
144 in the file LICENSE in the source distribution or at
145 L<https://www.openssl.org/source/license.html>.