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.