CLEAN-CRL(8)
π CLEAN-CRL π (section 8, System Manager's Manual, bestie)
okay so hi, welcome to clean-crl, the little utility that goes through your cert directory and yeets the CRL files that nobody needs anymore π§Ήβ¨
πΈ NAME πΈ
clean-crl β remove orphaned CRL like files from a certificate directory
β¨ SYNOPSIS β¨
clean-crl [-l crlpath] [-v] [-V] [-n] [-h]
π¦ DESCRIPTION π¦
so here's the tea β β the clean-crl utility will remove CRL like files named hash.rn from the directory you specify with the -l option, but only if there's no corresponding .n file chillin' in that same directory. orphan behavior, honestly π
and like, what that means in practice: if the directory is solely used to hold CA certificates in the common OpenSSL format, then it'll remove the CRL files for which the corresponding CA does not β or no longer β exist in the directory. gone. not invited to the group chat anymore π«Ά
π OPTIONS π
-h,--helpβ show help text. that's it, that's the whole thing π-l,--cadirmetadata-directory β the script will search this directory for files with the suffix.ri. there is no default, bestie β you must pick one. a common choice is/etc/pki/tls/certs,/etc/openldap/cacerts, or/etc/grid-security/certificatesπ-V,--versionβ display version number (same as correspondingfetch-crl) β-v,--verboseβ verbose mode, aka it tells you everything it's doing π’-n,--dryrunβ do not actually remove any files (useful primarily with-v). a little test run before the real thing, we love a rehearsal π
π CONFIGURATION π
none. zero. nothing to configure. iconic minimalism, no notes π
β οΈ NOTES β οΈ
this tool does not check the contents of the files removed, and will blindly unlink any file which even remotely looks like an OpenSSL CRL file. use with extreme caution. like, extreme extreme. it's giving reckless, fr fr π
π₯ SEE ALSO π₯
fetch-crl(8), openssl(1), http://wiki.nikhef.nl/grid/FetchCRL3
π©Ί DIAGNOSTICS π©Ί
exit status is normally 0; if an error occurs, exit status is 1 and diagnostics will be written to standard error. so if it's throwing a 1 at you, go read that stderr, bestie π
π LICENSE π
licensed under the Apache License, Version 2.0 (the "License");
http://www.apache.org/licenses/LICENSE-2.0
π BUGS π
does not check the contents of the files removed. yes we're saying it again. it's a whole thing π
and that's the whole page, angel π«Ά this one came from the Trust Anchor Utilities, a local situation, and it's the CLEAN-CRL(8) era, no cap. stay safe out there and double-check before you let it delete anything πβ¨
π¦ where this page comes from
- debian trixie: fetch-crl 3.0.23-1 Β· Apache-2.0
- epel 10: fetch-crl 3.0.25-1.el10_3 Β· Apache-2.0
- epel 9: fetch-crl 3.0.25-1.el9 Β· Apache-2.0
- fedora 43: fetch-crl 3.0.23-6.fc43 Β· Apache-2.0
- fedora 44: fetch-crl 3.0.23-7.fc44 Β· Apache-2.0
- ubuntu questing: fetch-crl 3.0.23-1
- ubuntu resolute: fetch-crl 3.0.23-1build1 Β· Apache-2.0
- ubuntu stonking: fetch-crl 3.0.23-1build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms