summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-10-21 15:49:39 -0400
committerjim-p <jimp@pfsense.org>2010-10-21 15:49:39 -0400
commit150bbe09fbc0d32dd3777ea44dcafb3d5eaa3bc4 (patch)
tree433d86c699cfd9b7b5c34c50c021c46d294844a6 /usr
parentfc54f29bf4c599c17f59cb5eaf9841551d2841be (diff)
downloadpfsense-150bbe09fbc0d32dd3777ea44dcafb3d5eaa3bc4.zip
pfsense-150bbe09fbc0d32dd3777ea44dcafb3d5eaa3bc4.tar.gz
Indicate if a certificate has been revoked, both in the cert list and the user manager list.
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/system_certmanager.php3
-rw-r--r--usr/local/www/system_usermanager.php3
2 files changed, 6 insertions, 0 deletions
diff --git a/usr/local/www/system_certmanager.php b/usr/local/www/system_certmanager.php
index 4821591..a675508 100644
--- a/usr/local/www/system_certmanager.php
+++ b/usr/local/www/system_certmanager.php
@@ -836,6 +836,9 @@ function internalca_change() {
<td class="listr"><?=$caname;?>&nbsp;</td>
<td class="listr"><?=$subj;?>&nbsp;</td>
<td class="listr">
+ <?php if (is_cert_revoked($cert)): ?>
+ <b>Revoked</b><br/>
+ <?php endif; ?>
<?php if (is_webgui_cert($cert['refid'])): ?>
webConfigurator<br/>
<?php endif; ?>
diff --git a/usr/local/www/system_usermanager.php b/usr/local/www/system_usermanager.php
index 706ffde..c60561f 100644
--- a/usr/local/www/system_usermanager.php
+++ b/usr/local/www/system_usermanager.php
@@ -645,6 +645,9 @@ function sshkeyClicked(obj) {
<tr>
<td class="listlr">
<?=htmlspecialchars($cert['descr']);?>
+ <?php if (is_cert_revoked($cert)): ?>
+ (<b>Revoked</b>)
+ <?php endif; ?>
</td>
<td class="listr">
<?=htmlspecialchars($ca['descr']);?>
OpenPOWER on IntegriCloud