27 The B<crl> command processes CRL files in DER or PEM format.
35 Print out a usage message.
37 =item B<-inform DER|PEM>
39 This specifies the input format. B<DER> format is DER encoded CRL
40 structure. B<PEM> (the default) is a base64 encoded version of
41 the DER form with header and footer lines.
43 =item B<-outform DER|PEM>
45 This specifies the output format, the options have the same meaning as the
50 This specifies the input filename to read from or standard input if this
51 option is not specified.
53 =item B<-out filename>
55 specifies the output filename to write to or standard output by
60 print out the CRL in text form.
62 =item B<-nameopt option>
64 option which determines how the subject or issuer names are displayed. See
65 the description of B<-nameopt> in L<x509(1)>.
69 don't output the encoded version of the CRL.
73 output a hash of the issuer name. This can be use to lookup CRLs in
74 a directory by issuer name.
78 outputs the "hash" of the CRL issuer name using the older algorithm
79 as used by OpenSSL versions before 1.0.0.
83 output the issuer name.
87 output the lastUpdate field.
91 output the nextUpdate field.
95 verify the signature on a CRL by looking up the issuing certificate in
100 verify the signature on a CRL by looking up the issuing certificate in
101 B<dir>. This directory must be a standard certificate directory: that
102 is a hash of each subject name (using B<x509 -hash>) should be linked
109 The PEM CRL format uses the header and footer lines:
111 -----BEGIN X509 CRL-----
112 -----END X509 CRL-----
116 Convert a CRL file from PEM to DER:
118 openssl crl -in crl.pem -outform DER -out crl.der
120 Output the text form of a DER encoded certificate:
122 openssl crl -in crl.der -text -noout
126 Ideally it should be possible to create a CRL using appropriate options
131 L<crl2pkcs7(1)>, L<ca(1)>, L<x509(1)>
135 Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
137 Licensed under the OpenSSL license (the "License"). You may not use
138 this file except in compliance with the License. You can obtain a copy
139 in the file LICENSE in the source distribution or at
140 L<https://www.openssl.org/source/license.html>.