diff options
author | jim-p <jimp@pfsense.org> | 2013-02-25 14:13:59 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-02-25 14:58:14 -0500 |
commit | 2b33321086adecaf37013fe8f1f916e19d95fe47 (patch) | |
tree | c55d2a23fb2a9c70ed38624843a6435936a9c284 /usr/local/www/system_camanager.php | |
parent | 8e479c61bc77a6cb2ea284325520cf7a31315c81 (diff) | |
download | pfsense-2b33321086adecaf37013fe8f1f916e19d95fe47.zip pfsense-2b33321086adecaf37013fe8f1f916e19d95fe47.tar.gz |
Show cert start/end dates in list.
Diffstat (limited to 'usr/local/www/system_camanager.php')
-rw-r--r-- | usr/local/www/system_camanager.php | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/usr/local/www/system_camanager.php b/usr/local/www/system_camanager.php index 0033339..49fd32d 100644 --- a/usr/local/www/system_camanager.php +++ b/usr/local/www/system_camanager.php @@ -600,6 +600,7 @@ function method_change() { $name = htmlspecialchars($ca['descr']); $subj = cert_get_subject($ca['crt']); $issuer = cert_get_issuer($ca['crt']); + list($startdate, $enddate) = cert_get_dates($ca['crt']); if($subj == $issuer) $issuer_name = "<em>" . gettext("self-signed") . "</em>"; else @@ -645,7 +646,20 @@ function method_change() { <td class="listr"><?=$internal;?> </td> <td class="listr"><?=$issuer_name;?> </td> <td class="listr"><?=$certcount;?> </td> - <td class="listr"><?=$subj;?> </td> + <td class="listr"><?=$subj;?><br /> + <table width="100%" style="font-size: 9px"> + <tr> + <td width="10%"> </td> + <td width="20%"><?=gettext("Valid From")?>:</td> + <td width="70%"><?= $startdate ?></td> + </tr> + <tr> + <td> </td> + <td><?=gettext("Valid Until")?>:</td> + <td><?= $enddate ?></td> + </tr> + </table> + </td> <td valign="middle" nowrap class="list"> <a href="system_camanager.php?act=edit&id=<?=$i;?>"> <img src="/themes/<?= $g['theme'];?>/images/icons/icon_e.gif" title="<?=gettext("edit CA");?>" alt="<?=gettext("edit CA");?>" width="17" height="17" border="0" /> |