diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php index 5463ad77764e50b89607b5684b990e25adef3889..b39ef887f446d097e55ae4f0bf616b68c312719f 100644 --- a/server/plugins-available/apache2_plugin.inc.php +++ b/server/plugins-available/apache2_plugin.inc.php @@ -1259,7 +1259,7 @@ class apache2_plugin { $date = date("YmdHis"); //* TODO: check if is a symlink, if target same keep it, either remove it if(is_file($key_file)) { - $app->system->copy($key_file, $key_file.'.old'.$date); + $app->system->copy($key_file, $key_file.'.old.'.$date); $app->system->chmod($key_file.'.old.'.$date, 0400); $app->system->unlink($key_file); } diff --git a/server/plugins-available/nginx_plugin.inc.php b/server/plugins-available/nginx_plugin.inc.php index f4e3d96997b8f48d5b859097ad5df2576bcdf26d..748a61f98c469ec14181ff1b389868a11a34ea8a 100644 --- a/server/plugins-available/nginx_plugin.inc.php +++ b/server/plugins-available/nginx_plugin.inc.php @@ -1336,7 +1336,7 @@ class nginx_plugin { $date = date("YmdHis"); //* TODO: check if is a symlink, if target same keep it, either remove it if(is_file($key_file)) { - $app->system->copy($key_file, $key_file.'.old'.$date); + $app->system->copy($key_file, $key_file.'.old.'.$date); $app->system->chmod($key_file.'.old.'.$date, 0400); $app->system->unlink($key_file); }