Commit graph

14 commits

Author SHA1 Message Date
Sergey Ponomarev
585df1d137 luci-app-acme: Split Challenge Validation tab into two
The validation_method is now set to webroot by default.
This is the most used option.

The webroot option is now empty by default.
Into the description added that by default will be used /var/run/acme/challenge/
Webservers should serve the folder under /.well-known/acme-challenge/ url.
The folder is automatically created by the acmesh service on renewal.

The Challenge Validation Tab is split to Webroot and DNS and the validation method moved to general tab.
So ideally a user won't see the webroot folder option from other tab.
And a user can basically enable the webroot just in the general tab without leaving it.
The DNS validation needs too many options to it needs for own tab.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-08-08 00:44:23 +03:00
Sergey Ponomarev
390393316c luci-app-acme: Remove update_nginx and update_uhttpd
The options now removed completely and hotplug hooks will be used instead.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-08-08 00:44:20 +03:00
Sergey Ponomarev
f2f41446ce luci-app-acme: Move use_staging and key_type to advanced tab
The options are useful only for experienced users.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-08-08 00:44:18 +03:00
Sergey Ponomarev
9486292d42 luci-app-acme: Migrate old keylength to key_type
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-08-08 00:44:15 +03:00
Sergey Ponomarev
15ce930bcb luci-app-acme: Rename keylength to key_type
The keylength option was renamed to key_type and values changed.
See 6d61014e51
Make it optional to let acme.sh to decide (currently ec256)

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-08-08 00:44:13 +03:00
Sergey Ponomarev
e39d4a22f4 luci-app-acme: Hide keysize and days columns
The columns makes little sense and instead we can keep more space for domains.
The days is really advanced option that is better not to change and it's support may be removed for simplicity.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-08-08 00:44:10 +03:00
Sergey Ponomarev
ea516da183 luci-app-acme: Reuse translations for removed state_dir option
In the commit acf40dc0d4 was removed the state_dir.
But translations were kept and they still have a value.
We should say to a user where the certs are stored now, and we can reuse the old translations.
They need to be fixed a little bit and already fixed for Russian, Ukrainian and Bulgarian languages.

See #6273

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-08-08 00:44:00 +03:00
Jo-Philipp Wich
acf40dc0d4 luci-app-acme: remove handling of deprecated state_dir option
Recent versions of "acme" report the following message on startup:

    daemon.warn acme: Option "state_dir" is deprecated, please remove it.
                      Certificates now exist in /etc/ssl/acme

Solve this issue by removing the support for this deprecated option.

Fixes: #6273
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2023-03-15 11:45:08 +01:00
Florian Eckert
e265ea3edf luci-app-acme: change form view to GridSection
If multiple certificates are added, then the page is a bit confusing with
all the informations. Therefore the GridSection view would be better
suited here.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-06-22 08:14:14 +02:00
Jannis Pinter
09cfbb34a8 luci-app-acme: Add descriptive text to validation method
Signed-off-by: Jannis Pinter <jannis+openwrt@pinterjann.is>
2020-10-20 08:17:35 +02:00
Jannis Pinter
45b65c76ff luci-app-acme: Remove services tab
Signed-off-by: Jannis Pinter <jannis+openwrt@pinterjann.is>
2020-10-20 08:02:32 +02:00
Jannis Pinter
028873054b luci-app-acme: Use tabs for certificate section
Signed-off-by: Jannis Pinter <jannis+openwrt@pinterjann.is>
2020-10-19 10:48:32 +02:00
Jannis Pinter
1ad72c6fb5 luci-app-acme: Add option for custom ACME server
Signed-off-by: Jannis Pinter <jannis@pinterjann.is>
2020-10-17 08:40:55 +02:00
Huangbin Zhan
18b151247b luci-app-acme: convert to client side rendering
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2020-06-24 15:22:24 +08:00