diff options
author | Remy <relst@relst.nl> | 2014-12-06 09:20:30 +0100 |
---|---|---|
committer | Remy <relst@relst.nl> | 2014-12-06 09:20:30 +0100 |
commit | a638ff63afaf118470dfc474256a3424801e05d0 (patch) | |
tree | a9673b7f880c995ca748f8edb9292523760678f6 | |
parent | 4dc510a186e189d3f77b3a8145687387edb49911 (diff) | |
download | ssl-decoder-a638ff63afaf118470dfc474256a3424801e05d0.zip ssl-decoder-a638ff63afaf118470dfc474256a3424801e05d0.tar.gz ssl-decoder-a638ff63afaf118470dfc474256a3424801e05d0.tar.bz2 |
Monospace font for chain
-rw-r--r-- | index.php | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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> Issued by:<i> "; + echo " </i><br>Issued by......:<i> "; echo htmlspecialchars(openssl_x509_parse($cert)['issuer']['CN']); echo "</i><br>"; } |