cert-manage

List, backup, whitelist, and restore CA trust stores

View the Project on GitHub adamdecaf/trustprune

cert-manage

Your machine trusts hundreds of Certificate Authorities by default. Most of them you have never heard of. One bad CA is enough to break HTTPS for everyone who trusts it.

cert-manage is a single CLI to list, backup, whitelist (distrust), and restore the CA trust stores on your platform and in apps such as Java, Chrome, and Firefox.

Trust should be earned, not defaulted.

Quick start

# See what you currently trust
cert-manage list
cert-manage list -count
cert-manage list -app java

# Always take a backup before changing trust
cert-manage backup
cert-manage backup -app java

# Keep only the CAs you want (requires a prior backup)
cert-manage whitelist -file urls.yaml
cert-manage whitelist -app java -file urls.yaml

# Roll back if something breaks
cert-manage restore
cert-manage restore -app java

Pages

Page Contents
Install Release binaries, go install, build from source
Usage Every command and flag
Platforms Platforms and apps, store paths, support status
Backup and restore Where backups live, NSS file sets, safe swap/rollback
Basics Command walkthrough (list, add, backup/restore, connect)
Whitelists Allowlist format and generating from browser history
Why this matters Research and CA incidents that motivate the tool
Papers Related research PDFs

Source