https://github.com/Wikinaut/MySimpleCertViewer
Because I couldn't find that on the net, I wrote a tiny certificate viewer in PHP to inspect fingerprints (MD5, SHA1, SHA256) and other data.
Maybe a starting point for you to bake your own cert inspectors.
T.
Not to be a party pooper, but what's the difference between this and openssl_x509_parse?
*--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerromeo@gmail.com
With Tyler's help, thanks again, it
+ doesn't shell out any longer + uses PHP streams + becomes a function getCertificateInfo() which returns an array
You'll like it
| [x-server] => www.google.org [x-port] => 443 [x-retrieval-time] => Array ( [utc] => 20130317224651Z [unix] => 1363556811 )
[x-fingerprints] => Array ( [sha1] => ec3914135ddf70774a2429f01110220d98bba741 [md5] => e43370d2231b5f341295957948c36ed6 [sha256] => ceb2a71fa2e66fd1eb0a216f990e797c1933484648d3b268e3b63a3575c538e6 ) || [name] => /C=US/ST=California/L=Mountain View/O=Google Inc/CN=misc.google.com |
wikitech-l@lists.wikimedia.org