From 7f56e980095be4e484983ccb1f067f86279ac7c8 Mon Sep 17 00:00:00 2001 From: Oliver Rahner Date: Mon, 29 Aug 2016 10:46:21 +0200 Subject: [PATCH] do not die after token self check We have to finish the challenge request so that the auth does not linger in state "pending", but goes to "invalid". See https://forum.froxlor.org/index.php/topic/13463-lets-encrypt-zertifikate-werden-nicht-erneuert/#entry32895 --- lib/classes/ssl/class.lescript.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/classes/ssl/class.lescript.php b/lib/classes/ssl/class.lescript.php index a6377868..1136d5db 100644 --- a/lib/classes/ssl/class.lescript.php +++ b/lib/classes/ssl/class.lescript.php @@ -189,7 +189,7 @@ class lescript $errmsg = ""; } @unlink($tokenPath); - throw new \RuntimeException("Please check $uri - token not available" . $errmsg); + $cronlog->logAction(CRON_ACTION, LOG_ERR,"letsencrypt Please check $uri - token not available" . $errmsg); } $this->log("Sending request to challenge");