Improved server certificate renewal. Another bug is still there.
This commit is contained in:
parent
22a0edf00b
commit
f522b17554
1 changed files with 3 additions and 1 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue