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, 1 Mar 2024 16:01:40 +0000 (17:01 +0100)
commit4bec28b4d16d86cfb6f6f720c61072f5954a9b28
treeb3a654224bdfa563cfe0d5d4b1169f0ac9125371
parent7d07c75154d8d77b39db1012493a21ef02cbf5bb
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