summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2017-02-19 19:10:57 +0100
committerGitHub <noreply@github.com>2017-02-19 19:10:57 +0100
commit6e2f015a2ce2fe5ab8b947b80553a6a4cea91139 (patch)
treee7b44912581d77817ffa4e972946e89430da823b /src
parent285aa44de41f6738a9ce2abf898a4f882e338c3d (diff)
downloadpfsense-6e2f015a2ce2fe5ab8b947b80553a6a4cea91139.zip
pfsense-6e2f015a2ce2fe5ab8b947b80553a6a4cea91139.tar.gz
Fix nginx certificate permissions (Bug #6862)
Diffstat (limited to 'src')
-rw-r--r--src/etc/inc/system.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/system.inc b/src/etc/inc/system.inc
index 028583b..3960fa5 100644
--- a/src/etc/inc/system.inc
+++ b/src/etc/inc/system.inc
@@ -1515,7 +1515,7 @@ EOD;
printf(gettext("Error: cannot open certificate file in system_webgui_start().%s"), "\n");
return 1;
}
- chmod("{$g['varetc_path']}/{$cert_location}", 0600);
+ chmod("{$g['varetc_path']}/{$cert_location}", 0644);
if ($ca <> "") {
$cert_chain = $cert . "\n" . $ca;
} else {
OpenPOWER on IntegriCloud