# phpman > man > openssl-crl(1ssl)


*Source: tldr-pages*

---

[OPENSSL-CRL(1SSL)](https://www.chedong.com/phpMan.php/man/OPENSSL-CRL/1SSL/markdown)                              OpenSSL                             [OPENSSL-CRL(1SSL)](https://www.chedong.com/phpMan.php/man/OPENSSL-CRL/1SSL/markdown)



## NAME
       openssl-crl - CRL command

## SYNOPSIS
       **openssl** **crl** [**-help**] [**-inform** **DER**|**PEM**] [**-outform** **DER**|**PEM**] [**-key** _filename_] [**-keyform**
       **DER**|**PEM**|**P12**] [**-dateopt**] [**-text**] [**-in** _filename_] [**-out** _filename_] [**-gendelta** _filename_] [**-badsig**]
       [**-verify**] [**-noout**] [**-hash**] [**-hash**___**old**] [**-fingerprint**] [**-crlnumber**] [**-issuer**] [**-lastupdate**]
       [**-nextupdate**] [**-nameopt** _option_] [**-CAfile** _file_] [**-no-CAfile**] [**-CApath** _dir_] [**-no-CApath**]
       [**-CAstore** _uri_] [**-no-CAstore**] [**-provider** _name_] [**-provider-path** _path_] [**-propquery** _propq_]

## DESCRIPTION
       This command processes CRL files in DER or PEM format.

## OPTIONS
### -help
           Print out a usage message.

### -inform
           The CRL input format; unspecified by default.  See [**openssl-format-options**(1)](https://www.chedong.com/phpMan.php/man/openssl-format-options/1/markdown) for details.

### -outform
           The CRL output format; the default is **PEM**.  See [**openssl-format-options**(1)](https://www.chedong.com/phpMan.php/man/openssl-format-options/1/markdown) for details.

### -key
           The private key to be used to sign the CRL.

### -keyform
           The format of the private key file; unspecified by default.  See
           [**openssl-format-options**(1)](https://www.chedong.com/phpMan.php/man/openssl-format-options/1/markdown) for details.

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

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

### -gendelta
           Output a comparison of the main CRL and the one specified here.

### -badsig
           Corrupt the signature before writing it; this can be useful for testing.

### -dateopt
           Specify the date output format. Values are: rfc_822 and iso_8601.  Defaults to rfc_822.

### -text
           Print out the CRL in text form.

### -verify
           Verify the signature in the CRL.

### -noout
           Don't output the encoded version of the CRL.

### -fingerprint
           Output the fingerprint of the CRL.

### -crlnumber
           Output the number of the CRL.

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

### -hash
           Outputs the "hash" of the CRL issuer name using the older algorithm as used by OpenSSL
           before version 1.0.0.

### -issuer
           Output the issuer name.

### -lastupdate
           Output the lastUpdate field.

### -nextupdate
           Output the nextUpdate field.

### -nameopt
           This specifies how the subject or issuer names are displayed.  See
           [**openssl-namedisplay-options**(1)](https://www.chedong.com/phpMan.php/man/openssl-namedisplay-options/1/markdown) for details.

### -CAfile -no-CAfile -CApath -no-CApath -CAstore -no-CAstore
           See "Trusted Certificate Options" in [**openssl-verification-options**(1)](https://www.chedong.com/phpMan.php/man/openssl-verification-options/1/markdown) for details.

### -provider
### -provider-path
### -propquery
           See "Provider Options" in [**openssl**(1)](https://www.chedong.com/phpMan.php/man/openssl/1/markdown), [**provider**(7)](https://www.chedong.com/phpMan.php/man/provider/7/markdown), and [**property**(7)](https://www.chedong.com/phpMan.php/man/property/7/markdown).

## 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.

## SEE ALSO
       [**openssl**(1)](https://www.chedong.com/phpMan.php/man/openssl/1/markdown), [**openssl-crl2pkcs7**(1)](https://www.chedong.com/phpMan.php/man/openssl-crl2pkcs7/1/markdown), [**openssl-ca**(1)](https://www.chedong.com/phpMan.php/man/openssl-ca/1/markdown), [**openssl-x509**(1)](https://www.chedong.com/phpMan.php/man/openssl-x509/1/markdown), **ossl**___**[store-file**(7)](https://www.chedong.com/phpMan.php/man/store-file/7/markdown)

## COPYRIGHT
       Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.

       Licensed under the Apache License 2.0 (the "License").  You may not use this file except in
       compliance with the License.  You can obtain a copy in the file LICENSE in the source
       distribution or at <<https://www.openssl.org/source/license.html>>.



3.0.2                                        2026-06-02                            [OPENSSL-CRL(1SSL)](https://www.chedong.com/phpMan.php/man/OPENSSL-CRL/1SSL/markdown)
