mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-18 00:55:01 +00:00
[ACME] Fix insecure http verifications
This commit is contained in:
parent
a89010940a
commit
cbdd6b0dfa
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ verify_challenge_path(){
|
|||
if [[ ${SKIP_HTTP_VERIFICATION} == "y" ]]; then
|
||||
echo '(skipping check, returning 0)'
|
||||
return 0
|
||||
elif [[ "$(curl -${2} -L http://${1}/.well-known/acme-challenge/${RANDOM_N} --silent)" == "${RANDOM_N}" ]]; then
|
||||
elif [[ "$(curl --insecure -${2} -L http://${1}/.well-known/acme-challenge/${RANDOM_N} --silent)" == "${RANDOM_N}" ]]; then
|
||||
rm /var/www/acme/${RANDOM_N}
|
||||
return 0
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue