Inspect a TLS certificate from the command line

Bash

Prints the subject, issuer and validity dates without opening a browser.

echo | openssl s_client -servername example.com -connect example.com:443 2>/dev/null \
  | openssl x509 -noout -subject -issuer -dates

More in Networking

Random picks