OPENSSL-CRL(1ossl)
π OPENSSL-CRL π
okay bestie, welcome to the openssl-crl page β this is the CRL command from the 1ossl manual, and we're gonna get you fluent in it, no cap β¨
β¨ 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]
bestie it's a LOT of brackets but I promise it's fine, just vibes and flags π«Ά
πΈ DESCRIPTION πΈ
So like. This command processes CRL files in DER or PEM format. That's the whole personality. She reads CRLs, she writes CRLs, she slays π
π OPTIONS π
-helpβ prints out a usage message. the classic "help me help you" moment β¨-inform DER|PEMβ theCRLinput format. unspecified by default. go checkopenssl-format-options(1)for the deets π-outform DER|PEMβ theCRLoutput format, and the default isPEM. again,openssl-format-options(1)has the lore πΈ-key filenameβ the private key to be used to sign theCRLπ-keyform DER|PEM|P12β the format of the private key file. unspecified by default. yes,openssl-format-options(1)again, she's everywhere π¦-in filenameβ picks the input filename to read from, or standard input if you don't specify this option. lowkey the default is just "read the void" π-out filenameβ the output filename to write to, or standard output by default π-gendelta filenameβ outputs a comparison of the mainCRLand the one you specify here. side-by-side moment π-badsigβ corrupts the signature before writing it! this can be useful for testing. it's giving chaotic evil but make it QA π-dateoptβ specifies the date output format. values are:rfc_822andiso_8601. defaults torfc_822ποΈ-textβ prints out theCRLin text form. readable, iconic, we love her π-verifyβ verifies the signature in theCRL. if the verification fails, the program will immediately exit, i.e. further option processing (e.g.-gendelta) is skipped. so yeah, it jets the second things go wrong, main character energy fr fr πββοΈπ¨
this option is implicitly enabled if any of -CApath, -CAfile or -CAstore is specified π
-nooutβ don't output the encoded version of theCRL. sometimes less is more, we respect it π-fingerprintβ outputs the fingerprint of theCRLπ«β¨-crlnumberβ outputs the number of theCRLπ’-hashβ outputs a hash of the issuer name. this can be use to lookupCRLs in a directory by issuer name. (yes the original says "can be use", I'm not fixing her, she's perfect as she is π )-hash_oldβ outputs the "hash" of theCRLissuer name using the older algorithm as used by OpenSSL before version1.0.0. vintage era, we stan the archive π-issuerβ outputs the issuer name πͺͺ-lastupdateβ outputs thelastUpdatefield β°-nextupdateβ outputs thenextUpdatefield βοΈ-nameopt optionβ specifies how the subject or issuer names are displayed.openssl-namedisplay-options(1)for the full tea π-CAfile file,-no-CAfile,-CApath dir,-no-CApath,-CAstore uri,-no-CAstoreβ see "Trusted Certificate Options" inopenssl-verification-options(1)for details. trust falls but with certificates π«Ά-provider name,-provider-path path,-provparam [name:]key=value,-propquery propqβ see "Provider Options" inopenssl(1),provider(7), andproperty(7). the whole plugin ecosystem, go off π
π¦ 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
(and yes, it really does say "certificate" there. she's a CRL command but she contains multitudes π)
β BUGS β
ideally it should be possible to create a CRL using appropriate options and files too. so... she currently cannot, and honestly, same π (this is the page saying it, not me inventing anything β don't come for me)
π SEE ALSO π
openssl(1), openssl-crl2pkcs7(1), openssl-ca(1), openssl-x509(1), ossl_store-file(7)
the whole friend group, go read them, iykyk π
π HISTORY π
since OpenSSL 3.3, the -verify option will exit with 1 on failure. noted, recorded, periodt π
π 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>.
aaaand that's the whole page bestie π this was OPENSSL-CRL(1ossl), version 3.5.0, dated 2026-09-25 β mwah, go forth and verify those signatures β¨π
π¦
π¦ where this page comes from
- opensuse-leap 16.0: openssl-3 3.5.0-160000.11.1 Β· Apache-2.0
- opensuse-leap 16.0: openssl-3 3.5.0-160000.11.1 Β· Apache-2.0
- opensuse-leap 16.0: openssl-3 3.5.0-160000.11.1 Β· Apache-2.0
- opensuse-leap 16.0: openssl-3 3.5.0-160000.11.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms