luci-app-acme: validation_method options: add challenge type code HTTP-01 and DNS-01
authorSergey Ponomarev <[email protected]>
Sat, 4 Oct 2025 08:12:22 +0000 (11:12 +0300)
committerToke Høiland-Jørgensen <[email protected]>
Tue, 7 Oct 2025 12:01:06 +0000 (14:01 +0200)
Signed-off-by: Sergey Ponomarev <[email protected]>
applications/luci-app-acme/htdocs/luci-static/resources/view/acme/acme.js

index 2c7f1032c9c248398ab2de337199bc5b43ecfe27..df23ae98418535856007c512ea77871de4ab47ee 100644 (file)
@@ -91,9 +91,9 @@ return view.extend({
                                'Webroot mode will use an existing webserver to issue a certificate. ' +
                                'DNS mode will allow you to use the DNS API of your DNS provider to issue a certificate.')
                );
-               o.value('standalone', _('Standalone'));
-               o.value('webroot', _('Webroot Challenge Validation'));
-               o.value('dns', _('DNS Challenge Validation'));
+               o.value('standalone', 'HTTP-01' + _('Standalone'));
+               o.value('webroot', 'HTTP-01' + _('Webroot Challenge Validation'));
+               o.value('dns', 'DNS-01 ' + _('DNS Challenge Validation'));
                o.default = 'standalone';
 
                if (!hasDnsApi) {