OPENSSL-CRL(1ossl)
π openssl-crl β the CRL command, bestie edition
okay so this is openssl-crl(1ossl), one of the OpenSSL 1 commands, and it's literally the CRL (certificate revocation list) handler. Think of it as the group chat where certs get told they're cancelled π β and this command is how you read, convert, inspect and verify those lists.
β¨ 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]
[-provparam [name:]key=value] [-propquery propq]
πΈ DESCRIPTION πΈ
This command processes CRL files that are in DER or PEM format. That's it, that's the whole vibe β it's the CRL girlie π.
β¨ OPTIONS β¨
-helpβ prints a usage message. the classic "wait what were the flags again" button π«Ά-inform DER|PEMβ the format of the CRL you're feeding in. unspecified by default. full deets live inopenssl-format-options(1).-outform DER|PEMβ the format you want the CRL out in. default is PEM. again,openssl-format-options(1)has the lore.-key filenameβ the private key used to sign the CRL π-keyform DER|PEM|P12β the format of that private key file. unspecified by default. yep,openssl-format-options(1).-in filenameβ the input file to read from. skip it and it reads from standard input π-out filenameβ the output file to write to. defaults to standard output.-gendelta filenameβ outputs a comparison between the main CRL and the one you name here. like a diff but for CRLs β¨-badsigβ corrupts the signature before writing it out. yes on purpose. it's useful for testing π-dateoptβ sets the date output format. values arerfc_822andiso_8601. defaults torfc_822.-textβ prints the CRL in text form. human-readable slay π-verifyβ verifies the signature in the CRL. if verification fails the program immediately exits, meaning further option processing (like-gendelta) is skipped. no second chances, periodt. this option is implicitly enabled if any of-CApath,-CAfileor-CAstoreis specified.-nooutβ don't output the encoded version of the CRL. the "I only want the tea, not the whole file" flag π«-fingerprintβ outputs the fingerprint of the CRL.-crlnumberβ outputs the number of the CRL.-hashβ outputs a hash of the issuer name. lowkey useful for looking up CRLs in a directory by issuer name π-hash_oldβ outputs the "hash" of the CRL issuer name using the older algorithm, the one OpenSSL used before version1.0.0. vintage core π-issuerβ outputs the issuer name.-lastupdateβ outputs thelastUpdatefield.-nextupdateβ outputs thenextUpdatefield.-nameopt optionβ how subject or issuer names get displayed. details inopenssl-namedisplay-options(1)π-CAfile file,-no-CAfile,-CApath dir,-no-CApath,-CAstore uri,-no-CAstoreβ see "Trusted Certificate Options" inopenssl-verification-options(1)for the full rundown.-provider name,-provider-path path,-provparam [name:]key=value,-propquery propqβ see "Provider Options" inopenssl(1),provider(7), andproperty(7).
π EXAMPLES π
Convert a CRL file from PEM to DER β glow-up but make it binary:
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. like, rn it can't, and honestly? tragic π
π¦ SEE ALSO π¦
openssl(1), openssl-crl2pkcs7(1), openssl-ca(1), openssl-x509(1), ossl_store-file(7)
π HISTORY π
Since OpenSSL 3.3, the -verify option will exit with 1 on failure. noted, bestie π
π 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>.
okay that's the whole page!! this one's from OpenSSL 3.5.9, dated 2026-09-29 β go forth and revoke responsibly, bestie π§πβ¨
π¦ where this page comes from
- alpine 3.23: openssl-doc 3.5.9-r0 Β· Apache-2.0
- alpine 3.24: openssl-doc 3.5.9-r0 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms