New to the traefik world and had it setup and working as intended, however my wildcard SSL that i was using has expired, since its expiration I have tried replacing it in portainer (i set it up as a secret in portainer) however it doesnt work.
How can I go about troubleshooting this one? It seems as though the Traefik container doesn't start after the secret is replaced? Any help would be appreciated.
In my opinion Docker Swarm secret (and config) are sh#t, because you can't update. You have to tear down your active stack/services/containers using it, re-create the secret and restart your stack/services/containers.
If you think there is an issue with Traefik not starting, then I would enable and check Traefik debug logs.
Disclaimer: we use config and secret with Docker Swarm, e.g. for paid wildcards
TOML file and Certificates:
Ensure that the mounted volume in traefik yml: - /root/ops/config:/config has an ssl.toml file, like the one below, along with your certs.
Just be aware that if you mount a folder into the Traefik container with the dynamic config file and cert files, that you need to manually update them on every Traefik node - probably every year.
If you have many nodes and many custom certs that need renew throughout the year, you could use a shared folder you mount on the nodes or you can even mount a shared folder directly as Docker volume.