Skip to content

Instantly share code, notes, and snippets.

@adam-p
Last active August 29, 2015 14:17
Show Gist options
  • Save adam-p/674334ef5224462d9a30 to your computer and use it in GitHub Desktop.
Save adam-p/674334ef5224462d9a30 to your computer and use it in GitHub Desktop.
Command to get remote certificate info
openssl s_client -showcerts -connect example.com:443 < /dev/null | openssl x509 -noout -text -certopt no_header,no_version,no_serial,no_signame,no_pubkey,no_sigdump,no_aux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment