Skip to content

Instantly share code, notes, and snippets.

@hkparker
Created November 10, 2015 02:17
Show Gist options
  • Save hkparker/051558c6e2d2051b8b66 to your computer and use it in GitHub Desktop.
Save hkparker/051558c6e2d2051b8b66 to your computer and use it in GitHub Desktop.
View remote TLS certs in the terminal
#!/bin/bash
openssl s_client -connect $1:$2 < /dev/null 2>/dev/null | openssl x509 -noout -text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment