From: Lukas Schauer Date: Sat, 5 Dec 2015 15:57:04 +0000 (+0100) Subject: make challenge files world-readable X-Git-Tag: v0.1.0~220 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b5df371a932d268be353eaa01ca37071dab195e;p=thirdparty%2Fdehydrated.git make challenge files world-readable --- diff --git a/letsencrypt.sh b/letsencrypt.sh index 51249f2..be64320 100755 --- a/letsencrypt.sh +++ b/letsencrypt.sh @@ -66,6 +66,7 @@ sign_domain() { keyauth="${challenge_token}.${thumbprint}" printf '%s' "${keyauth}" > "${WELLKNOWN}/${challenge_token}" + chmod a+r "${WELLKNOWN}/${challenge_token}" echo " + Responding to challenge for ${altname}..." result="$(signed_request "${challenge_uri}" '{"resource": "challenge", "keyAuthorization": "'"${keyauth}"'"}')"