Browse Source

Fix acme-challenge ./well-known check / webroot detection (#4339)

fixes webroot to be defined as 
_currentRoot='/www'
instead of being interpreted as
_currentRoot='"/www"'

Signed-off-by: Aleksei Nosachev <nos1609@hotmail.com>
lilik-openwrt-22.03
Aleksei Nosachev 8 years ago
committed by Toke Høiland-Jørgensen
parent
commit
8599b8d7a3
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      net/acme/Makefile
  2. +1
    -1
      net/acme/files/run.sh

+ 1
- 1
net/acme/Makefile View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=acme PKG_NAME:=acme
PKG_SOURCE_VERSION:=7b40cbe8c1a52041351524bcde4b37665a7cdf79 PKG_SOURCE_VERSION:=7b40cbe8c1a52041351524bcde4b37665a7cdf79
PKG_VERSION:=1.6 PKG_VERSION:=1.6
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_LICENSE:=GPLv3 PKG_LICENSE:=GPLv3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE).tar.xz


+ 1
- 1
net/acme/files/run.sh View File

@ -189,7 +189,7 @@ issue_cert()
return 1 return 1
fi fi
log "Using webroot dir: $webroot" log "Using webroot dir: $webroot"
acme_args="$acme_args --webroot \"$webroot\""
acme_args="$acme_args --webroot $webroot"
fi fi
if ! $ACME --home "$STATE_DIR" --issue $acme_args; then if ! $ACME --home "$STATE_DIR" --issue $acme_args; then


Loading…
Cancel
Save