www.rodneybeede.com "I would love to change the world, but they won't give me the source code" - unknown

Command line script way to get SSL certificate - Last Modified 2017-03-16 16:21 UTC - Created 2017-03-16 16:21 UTC

echo quit | openssl s_client -connect www.rodneybeede.com:443 2>/dev/null| sed -ne '/BEGIN CERT/,/END CERT/p'

The 2>/dev/null removes output from the openssl command so you can get only the ASCII BASE64 encoded certificate.