CRL(1) OpenSSL CRL(1)
NAME
crl - CRL utility
SYNOPSIS
openssl crl [-inform PEM|DER] [-outform PEM|DER] [-text] [-in filename]
[-out filename] [-noout] [-hash] [-issuer] [-lastupdate] [-nextupdate]
[-CAfile file(1,n)] [-CApath dir]
DESCRIPTION
The crl command processes CRL files in(1,8) DER or PEM format.
COMMAND OPTIONS
-inform DER|PEM
This specifies the input format. DER format is DER encoded CRL
structure. PEM (the default) is a base64 encoded version(1,3,5) of the DER
form with header and footer lines.
-outform DER|PEM
This specifies the output format, the options have the same meaning
as the -inform option.
-in filename
This specifies the input filename to read(2,n,1 builtins) from or standard input if(3,n)
this option is not specified.
-out filename
specifies the output filename to write(1,2) to or standard output by
default.
-text
print out the CRL in(1,8) text form.
-noout
don't output the encoded version(1,3,5) of the CRL.
-hash
output a hash of the issuer name. This can be use to lookup CRLs in(1,8)
a directory by issuer name.
-issuer
output the issuer name.
-lastupdate
output the lastUpdate field.
-nextupdate
output the nextUpdate field.
-CAfile file(1,n)
verify(1,8) the signature on a CRL by looking up the issuing certificate
in(1,8) file(1,n)
-CApath dir
verify(1,8) the signature on a CRL by looking up the issuing certificate
in(1,8) dir. This directory must be a standard certificate directory:
that is a hash of each subject name (using x509 -hash) should be
linked to each certificate.
NOTES
The PEM CRL format uses the header and footer lines:
-----BEGIN X509 CRL-----
-----END X509 CRL-----
EXAMPLES
Convert a CRL file(1,n) from PEM to DER:
openssl crl -in crl.pem -outform DER -out crl.der
Output the text form of a DER encoded certificate:
openssl crl -in crl.der -text -noout
BUGS
Ideally it should be possible to create a CRL using appropriate options
and files too.
SEE ALSO
crl2pkcs7(1), ca(1), x509(1)
0.9.7d 2000-02-08 CRL(1)