xref: /netbsd-src/crypto/external/bsd/openssl/lib/libcrypto/man/openssl-crl.1 (revision a19d5caa4f855f23a141a0208d8a8ad40b58864e)
$NetBSD: openssl-crl.1,v 1.1 2024/07/12 21:01:07 christos Exp $

-*- mode: troff; coding: utf-8 -*-
Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43)

Standard preamble:
========================================================================
..
..
.. \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
. ds C` "" . ds C' "" 'br\} . ds C` . ds C' 'br\}
Escape single quotes in literal strings from groff's Unicode transform.

If the F register is >0, we'll generate index entries on stderr for
titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
entries marked with X<> in POD. Of course, you'll have to process the
output yourself in some meaningful fashion.

Avoid warning from groff about undefined register 'F'.
.. .nr rF 0 . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF ========================================================================

Title "OPENSSL-CRL 1"
OPENSSL-CRL 1 2024-07-11 3.0.14 OpenSSL
For nroff, turn off justification. Always turn off hyphenation; it makes
way too many mistakes in technical documents.
NAME
openssl-crl - CRL command
SYNOPSIS
Header "SYNOPSIS" \fBopenssl 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
Header "DESCRIPTION" This command processes CRL files in DER or PEM format.
OPTIONS
Header "OPTIONS"
-help 4
Item "-help" Print out a usage message.
"-inform DER|PEM" 4
Item "-inform DER|PEM" The CRL input format; unspecified by default. See openssl-format-options\|(1) for details.
"-outform DER|PEM" 4
Item "-outform DER|PEM" The CRL output format; the default is PEM. See openssl-format-options\|(1) for details.
"-key filename" 4
Item "-key filename" The private key to be used to sign the CRL.
"-keyform DER|PEM|P12" 4
Item "-keyform DER|PEM|P12" The format of the private key file; unspecified by default. See openssl-format-options\|(1) for details.
"-in filename" 4
Item "-in filename" This specifies the input filename to read from or standard input if this option is not specified.
"-out filename" 4
Item "-out filename" Specifies the output filename to write to or standard output by default.
"-gendelta filename" 4
Item "-gendelta filename" Output a comparison of the main CRL and the one specified here.
-badsig 4
Item "-badsig" Corrupt the signature before writing it; this can be useful for testing.
-dateopt 4
Item "-dateopt" Specify the date output format. Values are: rfc_822 and iso_8601. Defaults to rfc_822.
-text 4
Item "-text" Print out the CRL in text form.
-verify 4
Item "-verify" Verify the signature in the CRL. .Sp This option is implicitly enabled if any of -CApath, -CAfile or -CAstore is specified.
-noout 4
Item "-noout" Don't output the encoded version of the CRL.
-fingerprint 4
Item "-fingerprint" Output the fingerprint of the CRL.
-crlnumber 4
Item "-crlnumber" Output the number of the CRL.
-hash 4
Item "-hash" Output a hash of the issuer name. This can be use to lookup CRLs in a directory by issuer name.
-hash_old 4
Item "-hash_old" Outputs the "hash" of the CRL issuer name using the older algorithm as used by OpenSSL before version 1.0.0.
-issuer 4
Item "-issuer" Output the issuer name.
-lastupdate 4
Item "-lastupdate" Output the lastUpdate field.
-nextupdate 4
Item "-nextupdate" Output the nextUpdate field.
"-nameopt option" 4
Item "-nameopt option" This specifies how the subject or issuer names are displayed. See openssl-namedisplay-options\|(1) for details.
"-CAfile file, -no-CAfile, -CApath dir, -no-CApath, -CAstore uri, -no-CAstore" 4
Item "-CAfile file, -no-CAfile, -CApath dir, -no-CApath, -CAstore uri, -no-CAstore" See "Trusted Certificate Options" in openssl-verification-options\|(1) for details.
"-provider name" 4
Item "-provider name"

0

"-provider-path path" 4
Item "-provider-path path"
"-propquery propq" 4
Item "-propquery propq"

See "Provider Options" in openssl\|(1), provider\|(7), and property\|(7).

EXAMPLES
Header "EXAMPLES" Convert a CRL file from PEM to DER:

.Vb 1 openssl crl -in crl.pem -outform DER -out crl.der .Ve

Output the text form of a DER encoded certificate:

.Vb 1 openssl crl -in crl.der -text -noout .Ve

BUGS
Header "BUGS" Ideally it should be possible to create a CRL using appropriate options and files too.
"SEE ALSO"
Header "SEE ALSO" \fBopenssl\|(1), \fBopenssl-crl2pkcs7\|(1), \fBopenssl-ca\|(1), \fBopenssl-x509\|(1), \fBossl_store-file\|(7)
COPYRIGHT
Header "COPYRIGHT" Copyright 2000-2024 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>.