summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_certmanager.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-09-01 18:50:04 -0400
committerjim-p <jimp@pfsense.org>2010-09-02 16:50:10 -0400
commitd590fa20a97f4a9c6afb424fe0925c51853ae888 (patch)
tree812528d644906d72280f594c877c0dcd38aa3278 /usr/local/www/system_certmanager.php
parent8fefb9dd2202f4b13b4e97cb4926736158bcb0ca (diff)
downloadpfsense-d590fa20a97f4a9c6afb424fe0925c51853ae888.zip
pfsense-d590fa20a97f4a9c6afb424fe0925c51853ae888.tar.gz
Show was a certificate is used for, if anything.
Diffstat (limited to 'usr/local/www/system_certmanager.php')
-rw-r--r--usr/local/www/system_certmanager.php22
1 files changed, 20 insertions, 2 deletions
diff --git a/usr/local/www/system_certmanager.php b/usr/local/www/system_certmanager.php
index 79f2c88..feb62cf 100644
--- a/usr/local/www/system_certmanager.php
+++ b/usr/local/www/system_certmanager.php
@@ -703,9 +703,10 @@ function internalca_change() {
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td width="20%" class="listhdrr"><?=gettext("Name");?></td>
- <td width="20%" class="listhdrr"><?=gettext("Issuer");?></td>
+ <td width="15%" class="listhdrr"><?=gettext("Name");?></td>
+ <td width="15%" class="listhdrr"><?=gettext("Issuer");?></td>
<td width="40%" class="listhdrr"><?=gettext("Distinguished Name");?></td>
+ <td width="10%" class="listhdrr"><?=gettext("In Use");?></td>
<td width="10%" class="list"></td>
</tr>
<?php
@@ -752,6 +753,23 @@ function internalca_change() {
</td>
<td class="listr"><?=$caname;?>&nbsp;</td>
<td class="listr"><?=$subj;?>&nbsp;</td>
+ <td class="listr">
+ <?php if (is_webgui_cert($cert['refid'])): ?>
+ webConfigurator<br/>
+ <?php endif; ?>
+ <?php if (is_user_cert($cert['refid'])): ?>
+ User Cert<br/>
+ <?php endif; ?>
+ <?php if (is_openvpn_server_cert($cert['refid'])): ?>
+ OpenVPN Server<br/>
+ <?php endif; ?>
+ <?php if (is_openvpn_client_cert($cert['refid'])): ?>
+ OpenVPN Client<br/>
+ <?php endif; ?>
+ <?php if (is_ipsec_cert($cert['refid'])): ?>
+ IPsec Tunnel<br/>
+ <?php endif; ?>
+ </td>
<td valign="middle" nowrap class="list">
<a href="system_certmanager.php?act=exp&id=<?=$i;?>">
<img src="/themes/<?= $g['theme'];?>/images/icons/icon_down.gif" title="<?=gettext("export cert");?>" alt="<?=gettext("export ca");?>" width="17" height="17" border="0" />
OpenPOWER on IntegriCloud