Fix the Traefik default self-signed certificate

Error: TRAEFIK DEFAULT CERT / self-signed certificate

Traefik has no HTTPS router matching this domain, so it falls back to its built-in self-signed cert.

The container is running but Traefik has no router rule for this exact host, or the router is on the http entrypoint only. Coolify writes these labels from the Domains field — if the host there does not match what you are visiting, no router is created.

The fix

  1. Inspect the container’s Traefik labels and check for an https router for your exact domain:

    docker inspect <container-id> --format '{{range $k,$v := .Config.Labels}}{{$k}}={{$v}}{{"\n"}}{{end}}' | grep -i "host\|rule\|entrypoint\|tls\|certresolver"
  2. Confirm you see: an entryPoints=https router, rule=Host(`your-domain.com`) matching exactly, tls=true, and tls.certresolver=letsencrypt.

  3. If the host does not match or there is no https router, fix the Domains field in Coolify so it is the exact domain (https://), then redeploy.

Verify it worked

A "self-signed certificate" line here means Traefik still has no router — recheck the host rule:

curl -sv --max-time 10 https://your-domain.com 2>&1 | grep "self-signed\|subject"

Related Coolify errors

Have Emsden Studio fix it for you — from A$149

All Coolify deploy errors