Skip to main content
Resetting CertGov removes all issued certificates, CA keys, users, and all data from the PostgreSQL database. Your configuration file (/etc/certforge/trust.yaml) is preserved unless you explicitly delete it.

Reset data only (keep config)

Drop and recreate the PostgreSQL database, then restart:
On the next start, CertGov will:
  • Recreate the schema in the empty database
  • Generate a new internal CA
  • Drop you into the first-run superuser setup wizard

Full reset (wipe config too)

Then re-run the installer or recreate the config manually from the example.
This is irreversible. All issued certificates, audit logs, users, and CA keys will be permanently deleted. Take a backup first if you may need to recover anything.