Skip to content

Instantly share code, notes, and snippets.

@pavelz
Created July 17, 2017 10:45
Show Gist options
  • Save pavelz/56dedec25661841b7192e12e81767624 to your computer and use it in GitHub Desktop.
Save pavelz/56dedec25661841b7192e12e81767624 to your computer and use it in GitHub Desktop.
echo -n | openssl s_client -connect arslogi.ca:8443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > cert.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment