Resetting CertForge removes all issued certificates, CA keys, users, and the SQLite database. Your configuration file (/etc/certforge/config.yaml) is preserved unless you explicitly delete it.
Reset data only (keep config)
On the next start, CertForge will:
- Create a new SQLite 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.
PostgreSQL installations
If you configured PostgreSQL instead of SQLite, drop and recreate the database:
Then restart CertForge — the schema is recreated automatically on startup.
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.