summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemy <relst@relst.nl>2014-12-06 09:20:30 +0100
committerRemy <relst@relst.nl>2014-12-06 09:20:30 +0100
commita638ff63afaf118470dfc474256a3424801e05d0 (patch)
treea9673b7f880c995ca748f8edb9292523760678f6
parent4dc510a186e189d3f77b3a8145687387edb49911 (diff)
downloadssl-decoder-a638ff63afaf118470dfc474256a3424801e05d0.zip
ssl-decoder-a638ff63afaf118470dfc474256a3424801e05d0.tar.gz
ssl-decoder-a638ff63afaf118470dfc474256a3424801e05d0.tar.bz2
Monospace font for chain
-rw-r--r--index.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/index.php b/index.php
index 92e88eb..9400414 100644
--- a/index.php
+++ b/index.php
@@ -310,9 +310,9 @@
if ( $chain ) {
?>
<tr>
- <td>Chain sent by Server (in server order)</td>
- <td>
- <?php
+ <td>Chain sent by Server (in server order)</td>
+ <td style="font-family: monospace;">
+ <?php
foreach ($chain as $key => $cert) {
if ( $key == 10) {
echo "<span class='text-danger'>Error: Certificate chain to large.</span><br>";
@@ -322,9 +322,9 @@
continue;
}
if (openssl_x509_parse($cert)['issuer']['CN'] && openssl_x509_parse($cert)['subject']['CN']) {
- echo "Name: <i>";
+ echo "Name...........: <i>";
echo htmlspecialchars(openssl_x509_parse($cert)['subject']['CN']);
- echo " </i><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Issued by:<i> ";
+ echo " </i><br>Issued by......:<i> ";
echo htmlspecialchars(openssl_x509_parse($cert)['issuer']['CN']);
echo "</i><br>";
}