v1.0.46 — Automatic Let’s Encrypt certificates over port 80
Creating a site with Automatic selected now enrolls its public DNS hostname and aliases with Let’s Encrypt. The create API uses the same default when cert_mode is omitted. Point each public A or AAAA record at the WAF and keep TCP port 80 reachable from the internet for issuance and renewal. Port 443 can stay restricted to client IPs.
Caddy answers active HTTP-01 challenges on the WAF. Requests for inactive tokens on managed hostnames return 404. Ordinary HTTP requests to those hostnames redirect to HTTPS. Catch-all, wildcard, IP and local hostnames default to HTTP. For privately routed names under a public domain, select None or Import certificate as appropriate.
Upgrade
The admin API applies database migration 0043_acme_http01 at startup. Existing sites retain their configured certificate mode and previous validation methods. Back up the database, configuration, certificate storage and deployment settings before upgrading. If upgrading across multiple releases, review the previous upgrade notes.
Update the deployment repository with git pull --ff-only, preserve local Compose overrides, and set the following values in your deployment’s .env. Production Caddy and the CRS validator use the same digest.
WAF_IMAGE_TAG=1.0.46
CRS_CADDY_DIGEST=sha256:dcfb47f16f829ec6742e9727a78e328075464f01d8e33c09580a26af35812bf7docker compose config --quiet
docker compose pull
docker compose stop admin-ui admin-api caddy-waf waf-sandbox
docker compose up -d --wait postgres redis http-echo caddy-waf waf-sandbox
docker compose up -d --wait admin-api admin-ui
docker compose psCheck About → Version for v1.0.46. For a new public site, confirm the certificate served over HTTPS covers the configured name. The Caddy logs show issuance and renewal activity.
Images and verification
All three images target Linux AMD64 and use release tag 1.0.46.
ghcr.io/socfortress/waf-caddy:1.0.46ghcr.io/socfortress/waf-admin-api:1.0.46ghcr.io/socfortress/waf-admin-ui:1.0.46
The certificate integration test used a local HTTP-01 CA to issue certificates for a primary name and alias and verified a changed serial after renewal. Challenge requests stayed on the WAF. The published image digests and source revision are recorded in the image verification results.
Roll back to v1.0.45
Stop the management services and use the v1.0.46 API image to downgrade the database before switching image versions. The downgrade removes the per-site challenge-selection field.
docker compose stop admin-ui admin-api
docker compose run --rm --no-deps --entrypoint alembic admin-api downgrade 0042_access_controlsRestore the v1.0.45 image settings in .env and repeat the Compose upgrade sequence above.
WAF_IMAGE_TAG=1.0.45
CRS_CADDY_DIGEST=sha256:22f786457dd6d9b6335ec8a8b997a4a874f51da8b2d78874f1cdadc1b580417e