Nov 10, 2018

How to get certificate fingerprint of HTTPS server from command line


$ openssl s_client -connect
 it.i88.ca:443 < /dev/null 2>/dev/null | openssl x509 -fingerprint -noout -in /dev/stdin
SHA1 Fingerprint=44:8F:BB:50:A3:DA:17:52:88:94:EF:82:6F:94:E5:F7:6A:97:6D:8F