I’ve been trying to get a wildcard certificate for my domain for use in Caddy…
i’ve got caddy installed and working fine but it seems i need to build caddy manually to include the cloudflaredns module?
My issue is that i installed caddy using apt… so i’m not really sure what i’m meant to do now…
Does anyone have any suggestions?
The whole “build it yourself” strategy with plugins and stuff is why I moved over to Traefik. I think you’ll basically need to follow this doc to build it yourself while still using the apt package for all the niceties like Systemd units and such.
You usually don’t actually need to build it yourself: you can get a binary with that module from the official download page which automates (and IIRC caches) the build.
However, as noted at the top of that page, there’s currently an issue where that page occasionally fails, which is unfortunate.
If the download actually works… which i’ll try in a minute… how can i move from my apt installed version to using this binary?
I was a bit weirded out by this as well, but honestly - it’s pretty straightforward and has been working just fine for me. shrug
Wildcards are usually generated via a DNS-01 challenge, which are unrelated to the web-server you are using. Maybe Caddy has a special function for it, but normally it wouldn’t be involved at all.
Caddy does have special support for DNS-01, but only if you compile in a module for your DNS provider.