mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
acme-acmesh: support TLS-ALPN-01 challenge
This change adds an ability to invoke acme.sh with --alpn option invoking a TLS-ALPN-01 challenge on the 443 port. Signed-off-by: Vladimir Kochnev <hashtable@yandex.ru>
This commit is contained in:
committed by
Toke Høiland-Jørgensen
parent
cbbd2b5b3b
commit
25fcb486bc
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=acme-acmesh
|
||||
PKG_VERSION:=3.1.1
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/acmesh-official/acme.sh/tar.gz/$(PKG_VERSION)?
|
||||
|
||||
@@ -125,6 +125,9 @@ get)
|
||||
"standalone")
|
||||
set -- "$@" --standalone --listen-v6
|
||||
;;
|
||||
"alpn")
|
||||
set -- "$@" --alpn --listen-v6
|
||||
;;
|
||||
"webroot")
|
||||
mkdir -p "$CHALLENGE_DIR"
|
||||
set -- "$@" --webroot "$CHALLENGE_DIR"
|
||||
|
||||
Reference in New Issue
Block a user