Skip to main content

Download

Recommended — use the install script (auto-detects OS and architecture):
Or download manually from the releases page. Release assets are named certforge_{version}_{os}_{arch}.tar.gz:

Create a dedicated user

Running as root is not recommended. Create a system user:

Set up directories


Install the license file


Configuration file

Create /etc/certforge/config.yaml:
Set permissions:

Install as a systemd service

See Running as a systemd Service for the full unit file.

Firewall

Open the required ports:

First launch

Open the dashboard at https://your-server:8080. You will be prompted to create the initial superuser account on the first visit.
The server generates a self-signed TLS certificate on first run. Your browser will show a security warning — click Advanced → Proceed to continue. To permanently trust the certificate, import ./data/cas/internal-ca.crt (or /var/lib/certforge/cas/internal-ca.crt) into your browser or OS certificate store.

Verify the installation


PostgreSQL setup

PostgreSQL 14+ is required. Create the user and database before first start:
Set the connection string via environment variable (or in your systemd unit file):
Or in config.yaml:
CertGov runs schema migrations automatically on startup — no manual CREATE TABLE needed.
If DATABASE_URL is not set, CertGov exits immediately with platform-specific install instructions.