summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_camanager.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-02-25 14:13:59 -0500
committerjim-p <jimp@pfsense.org>2013-02-25 14:58:14 -0500
commit2b33321086adecaf37013fe8f1f916e19d95fe47 (patch)
treec55d2a23fb2a9c70ed38624843a6435936a9c284 /usr/local/www/system_camanager.php
parent8e479c61bc77a6cb2ea284325520cf7a31315c81 (diff)
downloadpfsense-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.php16
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;?>&nbsp;</td>
<td class="listr"><?=$issuer_name;?>&nbsp;</td>
<td class="listr"><?=$certcount;?>&nbsp;</td>
- <td class="listr"><?=$subj;?>&nbsp;</td>
+ <td class="listr"><?=$subj;?><br />
+ <table width="100%" style="font-size: 9px">
+ <tr>
+ <td width="10%">&nbsp;</td>
+ <td width="20%"><?=gettext("Valid From")?>:</td>
+ <td width="70%"><?= $startdate ?></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</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&amp;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" />
OpenPOWER on IntegriCloud