Operating CertCLM in production: security, audit and the 47-day future
The earlier articles covered why automation is mandatory, the architecture, DNS-01 and push delivery. This last one is about running the thing — because a certificate platform is critical infrastructure: when it fails, every service it manages fails with it.
The security model in one paragraph
Admin API is bearer-token only; agent API is a separate per-node-token surface that can't see other nodes or credentials. Private keys either never leave the node (pull model) or are stored AES-256-GCM-encrypted for managed-service delivery (push model). DNS credentials, channel tokens and target secrets encrypt under CERTCLM_MASTER_KEY; list endpoints mask them; exports of key material write audit entries. HTTPS on the control plane via real certs or auto self-signed, agents pin the CA. The desktop app reuses the same authenticated REST surface through an in-process bridge — no unauthenticated shortcuts.
The audit trail is the product
GET /api/v1/audit_logs records every issuance, renewal, failover, export, push result and scan with actor and timestamp. Two audiences care: incident response ("when did the edge cert change?") and compliance ("show me the lifecycle controls for this certificate"). In the 47-day world the audit log is also capacity planning — renewal frequency, failure rates and failover events tell you whether the platform is healthy before a certificate expires to prove otherwise.
Backup = one file + one directory + one key
SQLite means backup is certclm.db + acme-accounts/ + CERTCLM_MASTER_KEY. The master key deserves special care: it encrypts every stored credential, and its loss makes the database's secrets unrecoverable — store it in your secret manager, not a text file next to the DB.
What 47 days changes operationally
| Concern | 398-day world | 47-day world |
|---|---|---|
| Renewal frequency | ~1×/year | ~8×/year per cert |
| Tolerance for manual steps | annoying | impossible |
| CA dependency risk | minor | must-have failover |
| Edge staleness | noticed eventually | must be verified automatically |
| DNS write access | sometimes possible | delegated or automated or bust |
The platform was designed for the end state: renew-at-⅓-lifetime, multi-CA failover, DNS-01 with delegation, push targets with in-place updates, edge verification after delivery. Nothing on that list is aspirational — it's what's required when certificates live seven weeks.
Where we go next
WAF integrations (PT AF, UserGate) are gated on real customer environments to test against — the API surface varies by deployment version. GOST/CryptoPro is a separate workflow entirely (keys live in CSP containers, unexportable) and stays out of scope deliberately. If either matters to you, the webhook target and API already let you wire your own bridge.
Start with the quickstart — ten minutes to a self-renewing certificate.