Skip to content

// docs · sample configs

Sample configurations

A starter for every CA and challenge. Each page shows only the part that differs — the [store], [[distribute]], and [logging] blocks are the same across all of them.

Every example lives in examples/ and is ready to copy to /etc/syscert/syscert.toml and edit. The full annotated reference is full.toml; it documents every option. The deliver/store/logging tail below is the same in all of them:

[store]
path = "/var/lib/syscert"

[[distribute]]
artifact = "fullchain"
path     = "/etc/nginx/tls/fullchain.pem"
owner    = "root"
group    = "root"
mode     = "0644"

[[distribute]]
artifact = "privkey"
path     = "/etc/nginx/tls/privkey.pem"
owner    = "root"
group    = "root"
mode     = "0600"          # key-bearing → not world-readable

[logging]
level  = "info"
format = "text"

What changes between setups is the CA and the challenge. Pick the one that matches how the CA can reach your host, or can’t:

Check any of these offline before you issue anything: sudo -u syscert syscert dry-run --config-only --config ./syscert.toml.

Next: Configuration reference · Quick start