CmdID

CmdID / Commands

openssl-s_client

Create TLS client connections. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Display the start and expiry dates for a domain's certificate

openssl s_client -connect host:port 2>/dev/null | openssl x509 -noout -datesIdentify

Display the certificate presented by an SSL/TLS server

openssl </dev/null s_client -connect host:portIdentify

Set the Server Name Indicator (SNI) when connecting to the SSL/TLS server

openssl s_client -connect host:port -servername hostnameIdentify

Display the complete certificate chain of an HTTPS server

openssl </dev/null s_client -connect host:443 -showcertsIdentify