Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
4c302507
Commit
4c302507
authored
Jun 09, 2023
by
neil
Browse files
fix
https://github.com/acmesh-official/acme.sh/issues/4659
parent
51be15f6
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
4c302507
...
@@ -2884,6 +2884,7 @@ _initpath() {
...
@@ -2884,6 +2884,7 @@ _initpath() {
fi
fi
fi
fi
_debug DOMAIN_PATH
"
$DOMAIN_PATH
"
_debug DOMAIN_PATH
"
$DOMAIN_PATH
"
export
DOMAIN_PATH
fi
fi
if
[
-z
"
$DOMAIN_BACKUP_PATH
"
]
;
then
if
[
-z
"
$DOMAIN_BACKUP_PATH
"
]
;
then
...
@@ -4952,18 +4953,6 @@ $_authorizations_map"
...
@@ -4952,18 +4953,6 @@ $_authorizations_map"
if
!
chmod
a+r
"
$wellknown_path
/
$token
"
;
then
if
!
chmod
a+r
"
$wellknown_path
/
$token
"
;
then
_debug
"chmod failed, but we just continue."
_debug
"chmod failed, but we just continue."
fi
fi
if [ ! "$usingApache" ]; then
if webroot_owner=$(_stat "$_currentRoot"); then
_debug "Changing owner/group of .well-known to $webroot_owner"
if ! _exec "chown -R \"$webroot_owner\" \"$_currentRoot/.well-known\""; then
_debug "$(cat "$_EXEC_TEMP_ERR")"
_exec_err >/dev/null 2>&1
fi
else
_debug "not changing owner/group of webroot"
fi
fi
fi
fi
elif
[
"
$vtype
"
=
"
$VTYPE_ALPN
"
]
;
then
elif
[
"
$vtype
"
=
"
$VTYPE_ALPN
"
]
;
then
acmevalidationv1
=
"
$(
printf
"%s"
"
$keyauthorization
"
| _digest
"sha256"
"hex"
)
"
acmevalidationv1
=
"
$(
printf
"%s"
"
$keyauthorization
"
| _digest
"sha256"
"hex"
)
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment