openssl-crl (1)
Leading comments
Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) Standard preamble: ========================================================================
NAME
openssl-crl, crl - CRL utilitySYNOPSIS
openssl crl [-help] [-inform PEM|DER] [-outform PEM|DER] [-text] [-in filename] [-out filename] [-nameopt option] [-noout] [-hash] [-issuer] [-lastupdate] [-nextupdate] [-CAfile file] [-CApath dir]DESCRIPTION
The crl command processesCRL
files in DER
or PEM
format.
OPTIONS
- -help
- Print out a usage message.
- -inform DER|PEM
-
This specifies the input format. DERformat isDERencodedCRLstructure.PEM(the default) is a base64 encoded version of theDERform 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.
- -text
-
print out the CRLin text form.
- -nameopt option
- option which determines how the subject or issuer names are displayed. See the description of -nameopt in x509(1).
- -noout
-
don't output the encoded version 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_old
-
outputs the ``hash'' of the CRLissuer name using the older algorithm as used by OpenSSL versions before 1.0.0.
- -issuer
- output the issuer name.
- -lastupdate
- output the lastUpdate field.
- -nextupdate
- output the nextUpdate field.
- -CAfile file
-
verify the signature on a CRLby looking up the issuing certificate in file
- -CApath dir
-
verify the signature on a CRLby 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
ThePEM CRL
format uses the header and footer lines:
-----BEGIN X509 CRL----- -----END X509 CRL-----
EXAMPLES
Convert aCRL
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 aCRL
using appropriate options
and files too.
SEE ALSO
crl2pkcs7(1), ca(1), x509(1)COPYRIGHT
Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.Licensed under the OpenSSL license (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
<www.openssl.org/source/license.html>.