From aa1d2ab01d48fded9e0fe5c92be1b53c05bf4138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20Mei=C3=9Fner?= Date: Tue, 24 Nov 2020 17:38:49 +0100 Subject: [PATCH] Set certificate files explicitly world readable. --- lib/Froxlor/Cron/Http/DomainSSL.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Froxlor/Cron/Http/DomainSSL.php b/lib/Froxlor/Cron/Http/DomainSSL.php index 40d4304e..82d7c56d 100644 --- a/lib/Froxlor/Cron/Http/DomainSSL.php +++ b/lib/Froxlor/Cron/Http/DomainSSL.php @@ -107,6 +107,8 @@ class DomainSSL fclose($_fh); if ($type == 'ssl_key_file') { chmod($filename, 0600); + } else { + chmod($filename, 0644); } } }