Commit 49b1c50b authored by Hj Ahmad Rasyid Hj Ismail's avatar Hj Ahmad Rasyid Hj Ismail
Browse files

Update installer_base.lib.php to resolve bug report...

Update installer_base.lib.php to resolve bug report ispconfig/ispconfig3#5979
parent 416c9fa8
Pipeline #6942 passed with stage
in 8 minutes and 3 seconds
......@@ -3104,7 +3104,7 @@ class installer_base {
if (file_exists($pureftpd_pem)) rename($pureftpd_pem, $pureftpd_pem . '-' .$date->format('YmdHis') . '.bak');
// Create symlink to ISPConfig SSL files
symlink($ssl_pem_file, $pureftpd_pem);
symlink($ssl_pem_file, $pureftpd_pem); chmod($pureftpd_pem, 0600);
if (!file_exists("$pureftpd_dir/pure-ftpd-dhparams.pem"))
exec("cd $pureftpd_dir; openssl dhparam -out dhparam2048.pem 2048; ln -sf dhparam2048.pem pure-ftpd-dhparams.pem");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment