openssl version Example output:
openssl x509 -noout -modulus -in cert.pem | openssl md5 openssl rsa -noout -modulus -in private.key | openssl md5 The hashes must be identical. Connect to HTTPS server (show certificate chain) openssl s_client -connect google.com:443 Save server certificate to file openssl s_client -connect google.com:443 -showcerts </dev/null 2>nul | openssl x509 -out google.crt ( </dev/null 2>nul prevents hanging on Windows – use Git Bash or WSL for cleaner output) openssl for windows
Alternative for :