Improved server certificate renewal. Another bug is still there.

pull/1/head
Philipp Dunkel 16 years ago
parent 22a0edf00b
commit f522b17554

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

Loading…
Cancel
Save