Skip to content

Instantly share code, notes, and snippets.

@jcarley
Created October 10, 2016 14:53
Show Gist options
  • Save jcarley/b58a287eb8e351466de12957a140aab5 to your computer and use it in GitHub Desktop.
Save jcarley/b58a287eb8e351466de12957a140aab5 to your computer and use it in GitHub Desktop.
Save public cert for a host to a file
openssl s_client -connect HOSTNAME:443 -showcerts -sess_out ~/Downloads/HOSTNAME.cert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment