OpenSSL cheatsheet

Display SAN of an SSL connections, example for google.com: openssl s_client -host google.com -port 443 | openssl x509 -noout -ext subjectAltName