diff options
author | doktornotor <notordoktor@gmail.com> | 2017-02-19 19:10:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-19 19:10:57 +0100 |
commit | 6e2f015a2ce2fe5ab8b947b80553a6a4cea91139 (patch) | |
tree | e7b44912581d77817ffa4e972946e89430da823b /src/etc | |
parent | 285aa44de41f6738a9ce2abf898a4f882e338c3d (diff) | |
download | pfsense-6e2f015a2ce2fe5ab8b947b80553a6a4cea91139.zip pfsense-6e2f015a2ce2fe5ab8b947b80553a6a4cea91139.tar.gz |
Fix nginx certificate permissions (Bug #6862)
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/inc/system.inc | 2 |
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 { |