27 The B<crl> command processes CRL files in DER or PEM format.
29 =head1 COMMAND OPTIONS
33 =item B<-inform DER|PEM>
35 This specifies the input format. B<DER> format is DER encoded CRL
36 structure. B<PEM> (the default) is a base64 encoded version of
37 the DER form with header and footer lines.
39 =item B<-outform DER|PEM>
41 This specifies the output format, the options have the same meaning as the
46 This specifies the input filename to read from or standard input if this
47 option is not specified.
49 =item B<-out filename>
51 specifies the output filename to write to or standard output by
56 print out the CRL in text form.
58 =item B<-nameopt option>
60 option which determines how the subject or issuer names are displayed. See
61 the description of B<-nameopt> in L<x509(1)|x509(1)>.
65 don't output the encoded version of the CRL.
69 output a hash of the issuer name. This can be use to lookup CRLs in
70 a directory by issuer name.
74 outputs the "hash" of the CRL issuer name using the older algorithm
75 as used by OpenSSL versions before 1.0.0.
79 output the issuer name.
83 output the lastUpdate field.
87 output the nextUpdate field.
91 verify the signature on a CRL by looking up the issuing certificate in
96 verify the signature on a CRL by looking up the issuing certificate in
97 B<dir>. This directory must be a standard certificate directory: that
98 is a hash of each subject name (using B<x509 -hash>) should be linked
105 The PEM CRL format uses the header and footer lines:
107 -----BEGIN X509 CRL-----
108 -----END X509 CRL-----
112 Convert a CRL file from PEM to DER:
114 openssl crl -in crl.pem -outform DER -out crl.der
116 Output the text form of a DER encoded certificate:
118 openssl crl -in crl.der -text -noout
122 Ideally it should be possible to create a CRL using appropriate options
127 L<crl2pkcs7(1)|crl2pkcs7(1)>, L<ca(1)|ca(1)>, L<x509(1)|x509(1)>