Skip to content

Instantly share code, notes, and snippets.

@krishnact
Created December 22, 2018 17:27
Show Gist options
  • Save krishnact/37f8ab487fe70b6210b1e735ddc9d08b to your computer and use it in GitHub Desktop.
Save krishnact/37f8ab487fe70b6210b1e735ddc9d08b to your computer and use it in GitHub Desktop.
How to dump certificate using openssl?
echo | openssl s_client -connect ${SERVER}:${PORT} 2>/dev/null | openssl x509 -text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment