/etc/certforge/trust.yaml) is preserved unless you explicitly delete it.
Reset data only (keep config)
- Create a new SQLite database
- Generate a new internal CA
- Drop you into the first-run superuser setup wizard
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Wipe all data and start fresh with a clean CertForge installation.
/etc/certforge/trust.yaml) is preserved unless you explicitly delete it.
# Stop the process
pkill certforge 2>/dev/null; true
# Delete everything in the data directory
sudo rm -rf /var/lib/certforge
# Recreate with correct ownership so certforge can write to it
sudo mkdir -p /var/lib/certforge
sudo chown $USER /var/lib/certforge
# Start fresh — first-run wizard appears on next visit
certforge --config /etc/certforge/trust.yaml
pkill certforge 2>/dev/null; true
sudo rm -rf /var/lib/certforge
sudo rm -f /etc/certforge/trust.yaml
psql -U postgres -c "DROP DATABASE IF EXISTS certforge;"
psql -U postgres -c "CREATE DATABASE certforge OWNER certforge;"