danb35
Hall of Famer
- Joined
- Aug 16, 2011
- Messages
- 15,504
Pretty much. I'm working on getting it working with Caddy v2, which is what you're going to need to get a DNS cert. As an interim measure, you could use a self-signed cert instead. Otherwise, you can join in trying to track down and fix the issues with the caddyv2 branch of the script.
I just pushed a commit that will make it "work" with DNS validation, though right now only with Cloudflare. "Work" is in quotes because there's somethingin the Caddyfile that keeps caddy from starting automatically when the jail starts--but you can start it manually from the command line, and from there it seems to work. There's still more to be done, and I remain less than happy with just including the compiled binary in my repo, but I'm making progress.
Edit: If you want to play with this branch, run
Edit 2: Looks like it's actually in the rc script. Basil has tracked it down, now it seems it's just a matter of adding logging to that script.
Edit 3: Logging is added, and the rc script is working for me.
Edit 4: I've updated the script to build Caddy from source and include the specified DNS plugin. At this point, the only DNS host I've tested is Cloudflare. But it seems to be working so far.
I just pushed a commit that will make it "work" with DNS validation, though right now only with Cloudflare. "Work" is in quotes because there's something
Edit: If you want to play with this branch, run
git clone -b caddyv2 https://github.com/danb35/freenas-iocage-nextcloud
.Edit 2: Looks like it's actually in the rc script. Basil has tracked it down, now it seems it's just a matter of adding logging to that script.
Edit 3: Logging is added, and the rc script is working for me.
Edit 4: I've updated the script to build Caddy from source and include the specified DNS plugin. At this point, the only DNS host I've tested is Cloudflare. But it seems to be working so far.
Last edited: