26 The B<crl> command processes CRL files in DER or PEM format.
28 =head1 COMMAND OPTIONS
32 =item B<-inform DER|PEM>
34 This specifies the input format. B<DER> format is DER encoded CRL
35 structure. B<PEM> (the default) is a base64 encoded version of
36 the DER form with header and footer lines.
38 =item B<-outform DER|PEM>
40 This specifies the output format, the options have the same meaning as the
45 This specifies the input filename to read from or standard input if this
46 option is not specified.
48 =item B<-out filename>
50 specifies the output filename to write to or standard output by
55 print out the CRL in text form.
57 =item B<-nameopt option>
59 option which determines how the subject or issuer names are displayed. See
60 the description of B<-nameopt> in L<x509(1)|x509(1)>.
64 don't output the encoded version of the CRL.
68 output a hash of the issuer name. This can be use to lookup CRLs in
69 a directory by issuer name.
73 outputs the "hash" of the CRL issuer name using the older algorithm
74 as used by OpenSSL versions before 1.0.0.
78 output the issuer name.
82 output the lastUpdate field.
86 output the nextUpdate field.
90 verify the signature on a CRL by looking up the issuing certificate in
95 verify the signature on a CRL by looking up the issuing certificate in
96 B<dir>. This directory must be a standard certificate directory: that
97 is a hash of each subject name (using B<x509 -hash>) should be linked
104 The PEM CRL format uses the header and footer lines:
106 -----BEGIN X509 CRL-----
107 -----END X509 CRL-----
111 Convert a CRL file from PEM to DER:
113 openssl crl -in crl.pem -outform DER -out crl.der
115 Output the text form of a DER encoded certificate:
117 openssl crl -in crl.der -text -noout
121 Ideally it should be possible to create a CRL using appropriate options
126 L<crl2pkcs7(1)|crl2pkcs7(1)>, L<ca(1)|ca(1)>, L<x509(1)|x509(1)>