Browse Source

Merge pull request #13706 from Meano/fix-acme

acme: fix the 'Unknown parameter' problem caused by acme_server
lilik-openwrt-22.03
Toke Høiland-Jørgensen 4 years ago
committed by GitHub
parent
commit
2dd22b543d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=acme PKG_NAME:=acme
PKG_VERSION:=2.8.7 PKG_VERSION:=2.8.7
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/acmesh-official/acme.sh/tar.gz/$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/acmesh-official/acme.sh/tar.gz/$(PKG_VERSION)?


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

@ -279,7 +279,7 @@ issue_cert()
[ -n "$ACCOUNT_EMAIL" ] && acme_args="$acme_args --accountemail $ACCOUNT_EMAIL" [ -n "$ACCOUNT_EMAIL" ] && acme_args="$acme_args --accountemail $ACCOUNT_EMAIL"
[ "$use_staging" -eq "1" ] && acme_args="$acme_args --staging" [ "$use_staging" -eq "1" ] && acme_args="$acme_args --staging"
if [ -n $acme_server ]; then
if [ -n "$acme_server" ]; then
log "Using custom ACME server URL" log "Using custom ACME server URL"
acme_args="$acme_args --server $acme_server" acme_args="$acme_args --server $acme_server"
fi fi


Loading…
Cancel
Save