mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-10 00:11:45 +00:00
base64 hooks, fix https://github.com/Neilpang/acme.sh/issues/1969
This commit is contained in:
parent
dfca8c09e0
commit
c7257bcf46
9
acme.sh
9
acme.sh
@ -3650,9 +3650,9 @@ issue() {
|
|||||||
_savedomainconf "Le_Alt" "$_alt_domains"
|
_savedomainconf "Le_Alt" "$_alt_domains"
|
||||||
_savedomainconf "Le_Webroot" "$_web_roots"
|
_savedomainconf "Le_Webroot" "$_web_roots"
|
||||||
|
|
||||||
_savedomainconf "Le_PreHook" "$_pre_hook"
|
_savedomainconf "Le_PreHook" "$_pre_hook" "base64"
|
||||||
_savedomainconf "Le_PostHook" "$_post_hook"
|
_savedomainconf "Le_PostHook" "$_post_hook" "base64"
|
||||||
_savedomainconf "Le_RenewHook" "$_renew_hook"
|
_savedomainconf "Le_RenewHook" "$_renew_hook" "base64"
|
||||||
|
|
||||||
if [ "$_local_addr" ]; then
|
if [ "$_local_addr" ]; then
|
||||||
_savedomainconf "Le_LocalAddress" "$_local_addr"
|
_savedomainconf "Le_LocalAddress" "$_local_addr"
|
||||||
@ -4531,6 +4531,9 @@ renew() {
|
|||||||
|
|
||||||
IS_RENEW="1"
|
IS_RENEW="1"
|
||||||
Le_ReloadCmd="$(_readdomainconf Le_ReloadCmd)"
|
Le_ReloadCmd="$(_readdomainconf Le_ReloadCmd)"
|
||||||
|
Le_PreHook="$(_readdomainconf Le_PreHook)"
|
||||||
|
Le_PostHook="$(_readdomainconf Le_PostHook)"
|
||||||
|
Le_RenewHook="$(_readdomainconf Le_RenewHook)"
|
||||||
issue "$Le_Webroot" "$Le_Domain" "$Le_Alt" "$Le_Keylength" "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd" "$Le_RealFullChainPath" "$Le_PreHook" "$Le_PostHook" "$Le_RenewHook" "$Le_LocalAddress" "$Le_ChallengeAlias"
|
issue "$Le_Webroot" "$Le_Domain" "$Le_Alt" "$Le_Keylength" "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd" "$Le_RealFullChainPath" "$Le_PreHook" "$Le_PostHook" "$Le_RenewHook" "$Le_LocalAddress" "$Le_ChallengeAlias"
|
||||||
res="$?"
|
res="$?"
|
||||||
if [ "$res" != "0" ]; then
|
if [ "$res" != "0" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user