1CRL(1)                              OpenSSL                             CRL(1)
2
3
4

NAME

6       openssl-crl, crl - CRL utility
7

SYNOPSIS

9       openssl crl [-help] [-inform PEM|DER] [-outform PEM|DER] [-text] [-in
10       filename] [-out filename] [-nameopt option] [-noout] [-hash] [-issuer]
11       [-lastupdate] [-nextupdate] [-CAfile file] [-CApath dir]
12

DESCRIPTION

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

OPTIONS

17       -help
18           Print out a usage message.
19
20       -inform DER|PEM
21           This specifies the input format. DER format is DER encoded CRL
22           structure. PEM (the default) is a base64 encoded version of the DER
23           form with header and footer lines.
24
25       -outform DER|PEM
26           This specifies the output format, the options have the same meaning
27           and default as the -inform option.
28
29       -in filename
30           This specifies the input filename to read from or standard input if
31           this option is not specified.
32
33       -out filename
34           Specifies the output filename to write to or standard output by
35           default.
36
37       -text
38           Print out the CRL in text form.
39
40       -nameopt option
41           Option which determines how the subject or issuer names are
42           displayed. See the description of -nameopt in x509(1).
43
44       -noout
45           Don't output the encoded version of the CRL.
46
47       -hash
48           Output a hash of the issuer name. This can be use to lookup CRLs in
49           a directory by issuer name.
50
51       -hash_old
52           Outputs the "hash" of the CRL issuer name using the older algorithm
53           as used by OpenSSL before version 1.0.0.
54
55       -issuer
56           Output the issuer name.
57
58       -lastupdate
59           Output the lastUpdate field.
60
61       -nextupdate
62           Output the nextUpdate field.
63
64       -CAfile file
65           Verify the signature on a CRL by looking up the issuing certificate
66           in file.
67
68       -CApath dir
69           Verify the signature on a CRL by looking up the issuing certificate
70           in dir. This directory must be a standard certificate directory:
71           that is a hash of each subject name (using x509 -hash) should be
72           linked to each certificate.
73

NOTES

75       The PEM CRL format uses the header and footer lines:
76
77        -----BEGIN X509 CRL-----
78        -----END X509 CRL-----
79

EXAMPLES

81       Convert a CRL file from PEM to DER:
82
83        openssl crl -in crl.pem -outform DER -out crl.der
84
85       Output the text form of a DER encoded certificate:
86
87        openssl crl -in crl.der -inform DER -text -noout
88

BUGS

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

SEE ALSO

94       crl2pkcs7(1), ca(1), x509(1)
95
97       Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.
98
99       Licensed under the OpenSSL license (the "License").  You may not use
100       this file except in compliance with the License.  You can obtain a copy
101       in the file LICENSE in the source distribution or at
102       <https://www.openssl.org/source/license.html>.
103
104
105
1061.1.1g                            2020-04-23                            CRL(1)
Impressum