OPENSSL-CRL(1ossl)
π openssl-crl π
okay bestie, so this is openssl-crl β it lives in the OpenSSL family of manual pages, and it's literally just called the CRL command. CRL = Certificate Revocation List, iykyk. Let's get into it π
β¨ 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 πΈ
So like, this command processes CRL files that are in either DER or PEM format. That's the whole vibe. She's a CRL-processing icon and she knows it π
π¦ OPTIONS π¦
-helpβ prints out a usage message so you're not just out here guessing. π«Ά-inform DER|PEMβ the format of the CRL you're feeding in. If you don't say anything, it's unspecified by default β no assumptions made, very demure. Peepopenssl-format-options(1)for the deets.-outform DER|PEMβ the format of the CRL you're getting out. Default is PEM. Again,openssl-format-options(1)has the full rundown.-key filenameβ the private key that's gonna be used to sign the CRL. π-keyform DER|PEM|P12β what format that private key file is in; unspecified by default. Seeopenssl-format-options(1).-in filenameβ tells her which input filename to read from. Don't specify it and she'll just take standard input, no big deal.-out filenameβ which output filename to write to. Default is standard output.-gendelta filenameβ outputs a comparison between the main CRL and the one you specify here. cute little side-by-side moment β¨-badsigβ deliberately corrupts the signature before writing it out. Yes, on purpose. It's for testing, bestie β do not ship this. π-dateoptβ sets the date output format. The values are:rfc_822andiso_8601. Defaults torfc_822.-textβ prints the CRL out in text form. readable queen π-verifyβ verifies the signature inside the CRL. If verification fails, the program immediately exits β like, immediately β so any further option processing (e.g.-gendelta) gets skipped. π¨
Also lowkey important: this option is implicitly enabled if any of -CApath, -CAfile or -CAstore is specified.
-nooutβ don't output the encoded version of the CRL. withholding, honestly.-fingerprintβ outputs the fingerprint of the CRL.-crlnumberβ outputs the number of the CRL.-hashβ outputs a hash of the issuer name. Super handy 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 version 1.0.0. vintage behavior fr.-issuerβ outputs the issuer name.-lastupdateβ outputs thelastUpdatefield.-nextupdateβ outputs thenextUpdatefield.-nameopt optionβ how the subject or issuer names get displayed. Seeopenssl-namedisplay-options(1)for the full menu.-CAfile file,-no-CAfile,-CApath dir,-no-CApath,-CAstore uri,-no-CAstoreβ head to "Trusted Certificate Options" inopenssl-verification-options(1)for all the details. π«‘-provider name,-provider-path path,-provparam [name:]key=value,-propquery propqβ these live under "Provider Options" inopenssl(1),provider(7), andproperty(7). go read those if you wanna go deeper π§
π EXAMPLES π
Convert a CRL 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 you'd be able to create a CRL using the appropriate options and files too. Alas. Not yet. That's the dream, bestie π
β SEE ALSO β
openssl(1), openssl-crl2pkcs7(1), openssl-ca(1), openssl-x509(1), ossl_store-file(7)
π HISTORY π
Ever since OpenSSL 3.3, the -verify option will exit with 1 on failure. noted! π
π 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>.
π and that's the whole page, bestie!! this one's from OpenSSL version 3.5.6, dated 2026-04-07, and it's the OPENSSL-CRL(1ossl) manual β slay, go process some CRLs, ily π«Άβ¨
π¦ where this page comes from
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms