1OPENSSL-CRL(1ossl)                  OpenSSL                 OPENSSL-CRL(1ossl)
2
3
4

NAME

6       openssl-crl - CRL command
7

SYNOPSIS

9       openssl crl [-help] [-inform DER|PEM] [-outform DER|PEM] [-key
10       filename] [-keyform DER|PEM|P12] [-dateopt] [-text] [-in filename]
11       [-out filename] [-gendelta filename] [-badsig] [-verify] [-noout]
12       [-hash] [-hash_old] [-fingerprint] [-crlnumber] [-issuer] [-lastupdate]
13       [-nextupdate] [-nameopt option] [-CAfile file] [-no-CAfile] [-CApath
14       dir] [-no-CApath] [-CAstore uri] [-no-CAstore] [-provider name]
15       [-provider-path path] [-propquery propq]
16

DESCRIPTION

18       This command processes CRL files in DER or PEM format.
19

OPTIONS

21       -help
22           Print out a usage message.
23
24       -inform DER|PEM
25           The CRL input format; unspecified by default.  See
26           openssl-format-options(1) for details.
27
28       -outform DER|PEM
29           The CRL output format; the default is PEM.  See
30           openssl-format-options(1) for details.
31
32       -key filename
33           The private key to be used to sign the CRL.
34
35       -keyform DER|PEM|P12
36           The format of the private key file; unspecified by default.  See
37           openssl-format-options(1) for details.
38
39       -in filename
40           This specifies the input filename to read from or standard input if
41           this option is not specified.
42
43       -out filename
44           Specifies the output filename to write to or standard output by
45           default.
46
47       -gendelta filename
48           Output a comparison of the main CRL and the one specified here.
49
50       -badsig
51           Corrupt the signature before writing it; this can be useful for
52           testing.
53
54       -dateopt
55           Specify the date output format. Values are: rfc_822 and iso_8601.
56           Defaults to rfc_822.
57
58       -text
59           Print out the CRL in text form.
60
61       -verify
62           Verify the signature in the CRL.
63
64       -noout
65           Don't output the encoded version of the CRL.
66
67       -fingerprint
68           Output the fingerprint of the CRL.
69
70       -crlnumber
71           Output the number of the CRL.
72
73       -hash
74           Output a hash of the issuer name. This can be use to lookup CRLs in
75           a directory by issuer name.
76
77       -hash_old
78           Outputs the "hash" of the CRL issuer name using the older algorithm
79           as used by OpenSSL before version 1.0.0.
80
81       -issuer
82           Output the issuer name.
83
84       -lastupdate
85           Output the lastUpdate field.
86
87       -nextupdate
88           Output the nextUpdate field.
89
90       -nameopt option
91           This specifies how the subject or issuer names are displayed.  See
92           openssl-namedisplay-options(1) for details.
93
94       -CAfile file, -no-CAfile, -CApath dir, -no-CApath, -CAstore uri,
95       -no-CAstore
96           See "Trusted Certificate Options" in
97           openssl-verification-options(1) for details.
98
99       -provider name
100       -provider-path path
101       -propquery propq
102           See "Provider Options" in openssl(1), provider(7), and property(7).
103

EXAMPLES

105       Convert a CRL file from PEM to DER:
106
107        openssl crl -in crl.pem -outform DER -out crl.der
108
109       Output the text form of a DER encoded certificate:
110
111        openssl crl -in crl.der -text -noout
112

BUGS

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

SEE ALSO

118       openssl(1), openssl-crl2pkcs7(1), openssl-ca(1), openssl-x509(1),
119       ossl_store-file(7)
120
122       Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
123
124       Licensed under the Apache License 2.0 (the "License").  You may not use
125       this file except in compliance with the License.  You can obtain a copy
126       in the file LICENSE in the source distribution or at
127       <https://www.openssl.org/source/license.html>.
128
129
130
1313.0.5                             2022-07-05                OPENSSL-CRL(1ossl)
Impressum