Set certificate files explicitly world readable.
This commit is contained in:
@@ -107,6 +107,8 @@ class DomainSSL
|
|||||||
fclose($_fh);
|
fclose($_fh);
|
||||||
if ($type == 'ssl_key_file') {
|
if ($type == 'ssl_key_file') {
|
||||||
chmod($filename, 0600);
|
chmod($filename, 0600);
|
||||||
|
} else {
|
||||||
|
chmod($filename, 0644);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user