luci-app-uhttpd: support 'organization' option
Support the organization option, added in 2020. Mention in help text that a random/unique value is used in certificate generation if the organization option is empty. Re-order the certificate items to logical order. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
parent
b29657a4bc
commit
e3fbfe9909
1 changed files with 7 additions and 5 deletions
|
@ -218,13 +218,15 @@ o.datatype = "min(1024)"
|
|||
o = s:option(Value, "commonname", translate("Server Hostname"), translate("a.k.a CommonName"))
|
||||
o.default = luci.sys.hostname()
|
||||
|
||||
o = s:option(Value, "country", translate("Country"))
|
||||
o.default = "ZZ"
|
||||
|
||||
o = s:option(Value, "state", translate("State"))
|
||||
o.default = "Unknown"
|
||||
o = s:option(Value, "organization", translate("Organization"), translate("If empty, a random/unique value is used in cert generation"))
|
||||
|
||||
o = s:option(Value, "location", translate("Location"))
|
||||
o.default = "Unknown"
|
||||
|
||||
o = s:option(Value, "state", translate("State"))
|
||||
o.default = "Unknown"
|
||||
|
||||
o = s:option(Value, "country", translate("Country"))
|
||||
o.default = "ZZ"
|
||||
|
||||
return m
|
||||
|
|
Loading…
Reference in a new issue