summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-acme/luasrc/model/cbi
diff options
context:
space:
mode:
authorWill O'Neill <0100wrxb@gmail.com>2020-05-08 21:53:04 -0700
committerWill O'Neill <0100wrxb@gmail.com>2020-05-10 11:36:02 -0700
commit47489c620c063170f4b3448e44bb7f27928b8646 (patch)
tree94877446a695601ff1f72ffb7c78fd10085ba132 /applications/luci-app-acme/luasrc/model/cbi
parentbf3ed8f24f9b846a4a07a971a7ce0c40efeb373c (diff)
luci-app-acme: Update acme.sh URL, add support for challenge & domain alises.
Signed-off-by: Will O'Neill <0100wrxb@gmail.com>
Diffstat (limited to 'applications/luci-app-acme/luasrc/model/cbi')
-rw-r--r--applications/luci-app-acme/luasrc/model/cbi/acme.lua15
1 files changed, 12 insertions, 3 deletions
diff --git a/applications/luci-app-acme/luasrc/model/cbi/acme.lua b/applications/luci-app-acme/luasrc/model/cbi/acme.lua
index 5fc860e321..a02250f4c8 100644
--- a/applications/luci-app-acme/luasrc/model/cbi/acme.lua
+++ b/applications/luci-app-acme/luasrc/model/cbi/acme.lua
@@ -93,16 +93,25 @@ dom.datatype = "list(string)"
dns = cs:option(Value, "dns", translate("DNS API"),
translate("To use DNS mode to issue certificates, set this to the name of a DNS API supported by acme.sh. " ..
- "See https://github.com/Neilpang/acme.sh/tree/master/dnsapi for the list of available APIs. " ..
+ "See https://github.com/acmesh-official/acme.sh/wiki/dnsapi for the list of available APIs. " ..
"In DNS mode, the domain name does not have to resolve to the router IP. " ..
"DNS mode is also the only mode that supports wildcard certificates. " ..
"Using this mode requires the acme-dnsapi package to be installed."))
-dns.optional = true
cred = cs:option(DynamicList, "credentials", translate("DNS API credentials"),
translate("The credentials for the DNS API mode selected above. " ..
- "See https://github.com/Neilpang/acme.sh/tree/master/dnsapi#how-to-use-dns-api for the format of credentials required by each API. " ..
+ "See https://github.com/acmesh-official/acme.sh/wiki/dnsapi for the format of credentials required by each API. " ..
"Add multiple entries here in KEY=VAL shell variable format to supply multiple credential variables."))
cred.datatype = "list(string)"
+calias = cs:option(Value, "calias", translate("Challenge Alias"),
+ translate("The challenge alias to use for ALL domains. " ..
+ "See https://github.com/acmesh-official/acme.sh/wiki/DNS-alias-mode for the details of this process. " ..
+ "LUCI only supports one challenge alias per certificate."))
+
+dalias = cs:option(Value, "dalias", translate("Domain Alias"),
+ translate("The domain alias to use for ALL domains. " ..
+ "See https://github.com/acmesh-official/acme.sh/wiki/DNS-alias-mode for the details of this process. " ..
+ "LUCI only supports one challenge domain per certificate."))
+
return m