Ensure ACME challenge path exist

pull/38/head
Dmitry Ilyin 2021-08-11 14:03:13 +03:00
parent 029b2930f4
commit fedbd7c2eb
1 changed files with 8 additions and 0 deletions

View File

@ -9,3 +9,11 @@
ARGS=5
E_BADARGS=85
@@ -36,6 +36,7 @@ case "$METHOD" in
"begin")
case "$TYPE" in
http-01)
+ mkdir -p ${CHALLENGE_PATH}
echo -n "${AUTH}" > "${CHALLENGE_PATH}/${TOKEN}"
exit $?
;;