openssl¶
get information / certificate from remote host¶
view certificate ... locally¶
extract certificates¶
without SNI:
with SNI:
openssl s_client -servername example.com -connect example.com:443 2>/dev/null </dev/null | openssl x509 -outform pem
extract fingerprint¶
remove password / passphrase from certificate¶
display subject / common name¶
subject= /CN=foo.example.com