From 3bd058d4daa202a99eb65b53dae33b2fb6794def Mon Sep 17 00:00:00 2001 From: SH Date: Mon, 30 Sep 2019 17:08:42 +0200 Subject: [PATCH] ACME v2 hotfix 2 --- Lescript.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lescript.php b/Lescript.php index 7a2b879..84eeeef 100644 --- a/Lescript.php +++ b/Lescript.php @@ -266,7 +266,7 @@ private function readPrivateKey($path) private function parseFirstPemFromBody($body) { - preg_match('~(-----BEGIN.*?END CERTIFICATE-----)~', $body, $matches); + preg_match('~(-----BEGIN.*?END CERTIFICATE-----)~s', $body, $matches); return $matches[1]; }