OPNsense Forum

English Forums => General Discussion => Topic started by: ripdog on August 20, 2024, 01:45:37 PM

Title: Caddy Plugin - DNS providers not listed?
Post by: ripdog on August 20, 2024, 01:45:37 PM
Hi all, I recently discovered that there is now an official plugin for Caddy, so I've been migrating my old setup from the migumail one.

However, I can't find any way to set up DNS provider API cert validation. The official docs specify "Services ‣ Caddy Web Server ‣ General Settings ‣ DNS Provider", but I don't have any 'DNS Provider' option under General Settings.

Thankfully Caddy works by picking up my old cert from my previous installation, but this will break in a couple of months. I can't use standard cert validation, as I don't expose caddy on WAN. What's going on?
Title: Re: Caddy Plugin - DNS providers not listed?
Post by: Patrick M. Hausen on August 20, 2024, 01:49:33 PM
Hmm ... wonder why that tab is not there for you. Are you running a current version of OPNsense?

(https://forum.opnsense.org/index.php?action=dlattach;topic=42333.0;attach=37145;image)
Title: Re: Caddy Plugin - DNS providers not listed?
Post by: ripdog on August 20, 2024, 01:51:18 PM
Please see my attachment. There are no tabs. Other pages in the caddy plugin, such as Reverse Proxy, have tabs.

I'm using the default theme and there are no hidden HTML nodes, I checked with devtools.

EDIT: Yes, I just updated everything today.

Quote***GOT REQUEST TO INSTALL***
Currently running OPNsense 24.7.1 at Tue Aug 20 23:03:14 NZST 2024
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
Updating mimugmail repository catalogue...
Waiting for another process to update repository mimugmail
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
   caddy-custom: 2.8.4.2.0.4.2.2_2 [OPNsense]
   os-caddy: 1.6.2 [OPNsense]
Title: Re: Caddy Plugin - DNS providers not listed?
Post by: ripdog on September 22, 2024, 07:50:01 PM
Just noting here that I did a firmware update recently and that fixed this problem, and I could configure caddy to update my certs again. Bit of a mystery, but oh well.
Title: Re: Caddy Plugin - DNS providers not listed?
Post by: Monviech (Cedrik) on September 22, 2024, 08:21:57 PM
I recently rewrote the tab logic in the general settings in os-caddy-1.7.0, maybe that fixed it for you accidentally.