Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.certforge.xyz/llms.txt

Use this file to discover all available pages before exploring further.

The full configuration reference is in the Self-Hosted Configuration page. This page is a quick-reference index of every key.

Top-level keys

KeyTypeRequiredDescription
modestringYesself-hosted or cloud
platform_domainstringCloud onlyBase URL for absolute links in emails

server

KeyDefaultDescription
listen_address0.0.0.0IP to bind
port8443mTLS enrollment API port
dashboard_port8080Dashboard HTTP port
dashboard_enabledtrueEnable the web dashboard
acme_base_urlautoACME directory URL advertised to clients
allowed_cidrs[] (all)IP allowlist for dashboard access

storage

KeyDefaultDescription
base_path./dataDirectory for all runtime data
storage_keyAES-256 hex key for CA key encryption — set via CERTFORGE_STORAGE_KEY env var

database

KeyDescription
urlPostgreSQL connection string — set via DATABASE_URL env var. Empty = SQLite.

server_tls

KeyDescription
ca_idInternal CA ID for the dashboard TLS certificate
domainsHostnames / IPs for the dashboard cert SAN
renew_beforeRenew when less than this duration remains (e.g. 720h)
acme_ca_idACME CA for public-facing domains
public_domainsPublic FQDNs to get ACME-issued certs for

acme

KeyDescription
modeproduction or staging

dns

KeyDescription
solvercloudflare | route53 | manual
cloudflare.api_tokenCloudflare API token
route53.regionAWS region
route53.hosted_zone_idRoute 53 zone ID
propagation_timeoutDNS propagation wait (default 60s)

call_home

KeyDefaultDescription
interval24hHow often to ping certforge.xyz
timeout30sPer-request timeout
proxyHTTP proxy URL
proxy_usernameProxy auth username
proxy_passwordProxy auth password — set via CERTFORGE_PROXY_PASSWORD env var

Environment variable overrides

These environment variables always win over the YAML file:
VariableOverrides
DATABASE_URLdatabase.url
CERTFORGE_STORAGE_KEYstorage.storage_key
CERTFORGE_PROXY_PASSWORDcall_home.proxy_password
Never store database passwords, storage keys, or proxy passwords in config.yaml. Use environment variables set in your systemd unit override or secrets manager.
See Full Configuration Reference → for complete examples.