Show certificate info on SSL/STARTTLS

echo | openssl s_client -servername example.com -connect example.com:443 2>/dev/null | openssl x509 -noout -text
echo | openssl s_client -connect example.com:443 -starttls smtp 2>/dev/null | openssl x509 -noout -text

-- KoenMartens - 01 Mar 2020

This topic: Notes > WebHome > OpenSslCheatsheet
Topic revision: 01 Mar 2020, KoenMartens
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback