openssl crl

CRL utility 

openssl command


SYNOPSIS

openssl crl [-inform PEM|DER] [-outform PEM|DER] [-text] [-in filename] [-out filename] [-noout] [-hash] [-issuer] [-lastupdate] [-nextupdate] [-CAfile file] [-CApath dir]


DESCRIPTION

The crl command processes CRL files in DER or PEM format.

Options

-inform DER|PEM 

This specifies the input format. DER format is DER encoded CRL structure. PEM (the default) is a base64 encoded version of the DER form with header and footer lines.

-outform DER|PEM 

specifies the output format, the options have the same meaning as the -inform option.

-in filename 

specifies the input file name to read from or standard input if this option is not specified.

-out filename 

specifies the output file name to write to or standard output by default.

-text 

prints out the CRL in text form.

-noout 

does not output the encoded version of the CRL.

-hash 

outputs a hash of the issuer name. This can be use to lookup CRLs in a directory by issuer name.

-issuer 

outputs the issuer name.

-lastupdate 

outputs the lastUpdate field.

-nextupdate 

outputs the nextUpdate field.

-CAfile file 

verifies the signature on a CRL by looking up the issuing certificate in file.

-CApath dir 

verify the signature on a CRL by looking up the issuing certificate in 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 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.


AVAILABILITY

MKS Toolkit for System Administrators
MKS Toolkit for Developers
MKS Toolkit for Interoperability
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
MKS AlertCentre


SEE ALSO

Commands:
openssl ca, openssl crl2pkcs7, openssl x509