Related Pages
$ echo | openssl s_client -connect redhat.com:443 -brief CONNECTION ESTABLISHED Protocol version: TLSv1.2 Ciphersuite: ECDHE-RSA-AES128-GCM-SHA256 Peer certificate: C = US, ST = North Carolina, L = Raleigh, O = "Red Hat, Inc.", OU = Information Technology, CN = *.redhat.com Hash used: SHA256 Signature type: RSA Verification: OK Supported Elliptic Curve Point Formats: uncompressed Server Temp Key: ECDH, P-256, 256 bits DONE
$ echo | openssl s_client -connect redhat.com:443 2>/dev/null | openssl x509 -noout -dates notBefore=Jul 9 00:00:00 2019 GMT notAfter=Aug 2 12:00:00 2021 GMT
$ echo | openssl s_client -connect redhat.com:443 2>/dev/null | openssl x509 -noout -ext subjectAltName X509v3 Subject Alternative Name: DNS:*.redhat.com, DNS:redhat.com