Mac Developer Library Developer


This manual page is for Mac OS X version 10.9

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • To learn how the manual is organized or to learn about command syntax, read the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Developer Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.

CRL(1)                                             OpenSSL                                            CRL(1)

       crl - CRL utility

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

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

       -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
           This specifies the output format, the options have the same meaning as the -inform option.

       -in filename
           This specifies the input filename to read from or standard input if this option is not specified.

       -out filename
           specifies the output filename to write to or standard output by default.

           print out the CRL in text form.

           don't output the encoded version of the CRL.

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

           output the issuer name.

           output the lastUpdate field.

           output the nextUpdate field.

       -CAfile file
           verify 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.

       The PEM CRL format uses the header and footer lines:

        -----BEGIN X509 CRL----------END CRL---------END
        -----END X509 CRL-----EXAMPLES 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

       Ideally it should be possible to create a CRL using appropriate options and files too.

       crl2pkcs7(1), ca(1), x5_9(1)

50                                               2013-03-05                                           CRL(1)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation to the OpenSSL project by sending email to
Bug reports
Report bugs in the functionality of the described tool or API to Apple through Bug Reporter and to the OpenSSL project by sending email to
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.