25 The B<crl> command processes CRL files in DER or PEM format.
27 =head1 COMMAND OPTIONS
31 =item B<-inform DER|PEM>
33 This specifies the input format. B<DER> format is DER encoded CRL
34 structure. B<PEM> (the default) is a base64 encoded version of
35 the DER form with header and footer lines.
37 =item B<-outform DER|PEM>
39 This specifies the output format, the options have the same meaning as the
44 This specifies the input filename to read from or standard input if this
45 option is not specified.
47 =item B<-out filename>
49 specifies the output filename to write to or standard output by
54 print out the CRL in text form.
58 don't output the encoded version of the CRL.
62 output a hash of the issuer name. This can be use to lookup CRLs in
63 a directory by issuer name.
67 outputs the "hash" of the CRL issuer name using the older algorithm
68 as used by OpenSSL versions before 1.0.0.
72 output the issuer name.
76 output the lastUpdate field.
80 output the nextUpdate field.
84 verify the signature on a CRL by looking up the issuing certificate in
89 verify the signature on a CRL by looking up the issuing certificate in
90 B<dir>. This directory must be a standard certificate directory: that
91 is a hash of each subject name (using B<x509 -hash>) should be linked
98 The PEM CRL format uses the header and footer lines:
100 -----BEGIN X509 CRL-----
101 -----END X509 CRL-----
105 Convert a CRL file from PEM to DER:
107 openssl crl -in crl.pem -outform DER -out crl.der
109 Output the text form of a DER encoded certificate:
111 openssl crl -in crl.der -text -noout
115 Ideally it should be possible to create a CRL using appropriate options
120 L<crl2pkcs7(1)|crl2pkcs7(1)>, L<ca(1)|ca(1)>, L<x509(1)|x509(1)>