Tools for fetching and analyzing CA certificates
.gitignore | ||
analyze_certs.py | ||
compare_certs.py | ||
fetch_ca_certs.py | ||
helpers.py | ||
poetry.lock | ||
pyproject.toml | ||
README.md |
Case study of existing CA certificates
Generating the Markdown/SVG files
-
Get the CA certificates of the CAs from their corresponding web sites
poetry run python3 fetch_ca_certs.py
-
Run the generation script and filter through
pandoc
for better markdown layoutfor dir in cacert certum dtrust globalsign letsencrypt sectigo do poetry run python3 analyze_certs.py $dir | \ pandoc -f markdown -t gfm > $dir.md done
Compare certificates
There is a script compare_certs.py
that can be used to compare a certificate with other certificates.
The script generates markdown.
Example usage:
poetry run python3 compare_certs.py cacert/root_X0F.crt certum/CA.crt globalsign/root-r6.crt | \
pandoc -f markdown -t gfm > compare_root_cas.m