|
|
@ -770,7 +770,9 @@
|
|
|
|
//`csr_name`='".$row['csr_name']."', // RACE CONDITION
|
|
|
|
//`csr_name`='".$row['csr_name']."', // RACE CONDITION
|
|
|
|
"`created`='".$row['created']."',
|
|
|
|
"`created`='".$row['created']."',
|
|
|
|
`modified`=NOW(),
|
|
|
|
`modified`=NOW(),
|
|
|
|
`rootcert`='".$row['rootcert']."'";
|
|
|
|
`rootcert`='".$row['rootcert']."',
|
|
|
|
|
|
|
|
`type`='".$row['type']."',
|
|
|
|
|
|
|
|
`pkhash`='".$row['pkhash']."'";
|
|
|
|
mysql_query($query);
|
|
|
|
mysql_query($query);
|
|
|
|
$newid = mysql_insert_id();
|
|
|
|
$newid = mysql_insert_id();
|
|
|
|
$newfile = $_SESSION['_config']['filepath']."/csr/server-$newid.csr";
|
|
|
|
$newfile = $_SESSION['_config']['filepath']."/csr/server-$newid.csr";
|
|
|
|