acme-common: backport config fixes from master

Backport config changes from commit 04ac8c177d ("acme-common: simplify config
example") from master, and apply the subsequent fixup. This should fix the issue
with ACME not working in Luci (resolving #23756).

Keep the version number bump as a bugfix (1.0.4) since we have not backported
all the ACME changes to 23.05.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
This commit is contained in:
Toke Høiland-Jørgensen 2024-03-27 21:51:49 +01:00
parent a0ad76b2da
commit 73bee1f9b0
2 changed files with 9 additions and 9 deletions

View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=acme-common PKG_NAME:=acme-common
PKG_VERSION:=1.0.3 PKG_VERSION:=1.0.4
PKG_MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk> PKG_MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk>
PKG_LICENSE:=GPL-3.0-only PKG_LICENSE:=GPL-3.0-only

View File

@ -5,19 +5,19 @@ config acme
config cert 'example_wildcard' config cert 'example_wildcard'
option enabled 0 option enabled 0
option staging 1 option staging 1
list domains example.org list domains "example.org"
list domains sub.example.org list domains "*.example.org"
list domains *.sub.example.org option validation_method "dns"
option validation_method dns
option dns "dns_freedns" option dns "dns_freedns"
list credentials 'FREEDNS_User="ssladmin@example.org"' list credentials 'FREEDNS_User="ssladmin@example.org"'
list credentials 'FREEDNS_Password="1234"' list credentials 'FREEDNS_Password="1234"'
option calias "example.com" option calias "example.com"
option dalias "dalias.example.com" option dalias "dalias.example.com"
config cert 'example' config cert 'example_subdomain'
option enabled 0 option enabled 0
option staging 1 option staging 1
list domains example.org list domains "example.net"
list domains sub.example.org list domains "www.example.net"
validation_method webroot list domains "mail.example.net"
option validation_method "webroot"