$ echo -n | openssl s_client -connect HOSTNAME:PORT | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > server.pem
Created
August 27, 2017 21:56
-
-
Save thiyagaraj/4665516eff1075ad7a3f3f74ef64d5bb to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment