Installation
Single-binary server, container image, systemd units, or the desktop app.
CertCLM ships as small static binaries (certclm-server + certclm-agent), a multi-stage Docker image, systemd units, and an optional desktop app. All storage is a single SQLite file — no external database.
Requirements
| Component | Requirement |
|---|---|
| Server | Any 64-bit Linux/macOS, ~50 MB RAM, port 443 reachable (or behind a reverse proxy) |
| Agent | Linux/macOS/Windows host, outbound HTTPS to the server only — no inbound ports needed |
| Public ACME issuance | Domain pointing at the agent's port 80 (HTTP-01), or DNS API credentials (DNS-01) |
Binary installation
CertCLM ships as pre-built archives for Linux, macOS and Windows (x86_64/arm64). Unpack the one for your platform and put the binaries on PATH:
tar -xzf certclm-<os>-<arch>.tar.gz
install -m755 certclm-server /usr/local/bin/
install -m755 certclm-agent /usr/local/bin/The server embeds the web console, so certclm-server alone serves UI + API + scheduler.
Docker
CertCLM images are published to a private container registry. Your delivery includes a deploy token (a username like customer-acme plus a token value) and a pinned image reference such as registry.gitlab.com/xxf/certclm/certclm:v0.1.0.
Log in once on the host:
docker login registry.gitlab.com -u <deploy-token-name> -p <deploy-token>Save this as docker-compose.yml:
services:
certclm:
image: registry.gitlab.com/xxf/certclm/certclm:v0.1.0 # use the tag from your delivery
ports:
- "8090:8090"
volumes:
- certclm-data:/var/lib/certclm
environment:
CERTCLM_ADMIN_PASSWORD: ${CERTCLM_ADMIN_PASSWORD}
CERTCLM_MASTER_KEY: ${CERTCLM_MASTER_KEY}
CERTCLM_ZEROSSL_EAB_KID: ${CERTCLM_ZEROSSL_EAB_KID:-}
CERTCLM_ZEROSSL_EAB_HMAC: ${CERTCLM_ZEROSSL_EAB_HMAC:-}
CERTCLM_GOOGLE_EAB_KID: ${CERTCLM_GOOGLE_EAB_KID:-}
CERTCLM_GOOGLE_EAB_HMAC: ${CERTCLM_GOOGLE_EAB_HMAC:-}
restart: unless-stopped
volumes:
certclm-data:Create a .env next to it with CERTCLM_ADMIN_PASSWORD and CERTCLM_MASTER_KEY (the *_EAB_* variables are optional — only needed for ZeroSSL/Google ACME accounts). Then:
docker compose pull && docker compose up -dThe UI listens on port 8090. The image runs a non-root Alpine runtime (uid 10001); all state — SQLite database, master key, ACME account keys — lives in the named volume at /var/lib/certclm.
Upgrading: change the image: tag to the new version, then docker compose pull && docker compose up -d. To verify integrity, compare docker inspect --format '{{index .RepoDigests 0}}' registry.gitlab.com/xxf/certclm/certclm:<tag> with the digest in your delivery notes.
systemd
The distribution includes hardened units certclm-server.service and certclm-agent.service (ProtectSystem, EnvironmentFile for secrets, minimal ReadWritePaths):
install -m755 certclm-server /usr/local/bin/
install -m644 certclm-server.service /etc/systemd/system/
install -m600 /dev/null /etc/certclm/environment # then add your env vars
systemctl enable --now certclm-server/etc/certclm/environment holds the secrets — see Server configuration.
Desktop app
The desktop app (macOS/Windows) is part of the distribution. It talks to the same REST API through an in-process bridge — no separate port needed for the console itself.
Upgrading and backing up
- Upgrade: stop → replace binary → start. Schema migrations are idempotent and run on boot.
- Backup: the SQLite file plus the
acme-accounts/directory is the whole state. KeepCERTCLM_MASTER_KEYsafe — it encrypts DNS credentials, notification tokens and push-target secrets at rest (AES-256-GCM); losing it makes stored secrets unrecoverable.
Next: Server configuration or jump to the quickstart.