Verify HASH value of certificate [closed]

How can I verify Hash value of a certificate I get from a website using openssl? Say for example or facebook.com.

Answer

This should do it if I remember correctly. You did ask for the hash and not the modulus.

echo "" | openssl s_client -connect google.com:443 | openssl x509 -noout -hash

Attribution
Source : Link , Question Author : ro ko , Answer Author : Andrew Domaszek

Leave a Comment