Fixed a hole
Added OCSP renewal support
This commit is contained in:
parent
78b025d4a9
commit
c7e24e56f7
1 changed files with 2 additions and 1 deletions
|
@ -1678,7 +1678,7 @@
|
||||||
$csrsubject .= "/subjectAltName=".$SAN;
|
$csrsubject .= "/subjectAltName=".$SAN;
|
||||||
|
|
||||||
$type="";
|
$type="";
|
||||||
if($_REQUEST["ocspcert"]!="") $type="8";
|
if($_REQUEST["ocspcert"]!="" && $_SESSION['profile']['admin'] == 1) $type="8";
|
||||||
|
|
||||||
if($_SESSION['_config']['rowid']['0'] > 0)
|
if($_SESSION['_config']['rowid']['0'] > 0)
|
||||||
{
|
{
|
||||||
|
@ -1761,6 +1761,7 @@
|
||||||
`created`='".$row['created']."',
|
`created`='".$row['created']."',
|
||||||
`modified`=NOW(),
|
`modified`=NOW(),
|
||||||
`subject`='".$row['subject']."',
|
`subject`='".$row['subject']."',
|
||||||
|
`type`='".$row['type']."',
|
||||||
`rootcert`='".$row['rootcert']."'";
|
`rootcert`='".$row['rootcert']."'";
|
||||||
mysql_query($query);
|
mysql_query($query);
|
||||||
$newid = mysql_insert_id();
|
$newid = mysql_insert_id();
|
||||||
|
|
Loading…
Reference in a new issue