#revocation #tls #pki #ccadb #crls

bin+lib ccadb-crl-fetch

Utility for mass-downloading CRLs from Common CA Database (CCADB) CSV reports

1 unstable release

0.1.0 Apr 21, 2023

#1705 in Database interfaces

MPL-2.0 license

39KB
605 lines

ccadb-crl-fetch

Utility for mass-downloading all Mozilla included, non-revoked, issuer CRLs (full and partitioned) present in the CCADB all certificate records CSV report.

This utility makes a best-effort attempt to download as many CRLs as it can. You can expect to find some URLs fail to fetch. This may be because the issuer chains to an expired root, or because the CRL hosting is broken.

Output files

CRLs will be downloaded to a crls/ directory (which must not exist ahead of time). Files will be named for the Salesforce record ID of the issuer associated with the CRL URL(s), and an incrementing counter for issuers with more than one CRL URL.

Usage

cd ../
cargo fetch-all-records
cargo fetch-crls
ls -la crls/

Dependencies

~13–29MB
~437K SLoC