Show SSL fingerprint and hash

From snippet wiki
Jump to navigation Jump to search

Using openssl you can:

openssl x509 -noout -in /etc/pathto/cert.pem -fingerprint
SHA1 Fingerprint=F6:91:FC:87:EF:B3:13:53:54:22:5A:10:E1:27:E9:11:D1:C7:F8:CF

openssl x509 -noout -in /etc/pathto/cert.pem -hash       
38d751eb