acme-acmesh: use validation_method option instead of guessing
authorSergey Ponomarev <stokito@gmail.com>
Wed, 28 Feb 2024 20:13:47 +0000 (22:13 +0200)
committerToke Høiland-Jørgensen <toke@toke.dk>
Fri, 3 May 2024 21:26:00 +0000 (23:26 +0200)
commit798738c9b7a86df2166d70192cd95963c1c9bbeb
treead6117690ff6c4e29c5c60b59aa883d10354b81c
parentff8429b3c591129ece2686bf715a3daceea9a576
acme-acmesh: use validation_method option instead of guessing

The new validation_method option can be: dns, webroot or standalone.
Previously we guessed the challenge type:
1. if the DNS provider is specified then it's dns
2. if standalone=1
3. fallback to webroot

The logic is preserved and if the validation_method wasn't set explicitly we'll guess it in old manner.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
net/acme-acmesh/Makefile
net/acme-acmesh/files/hook.sh