Skip to content

Instantly share code, notes, and snippets.

@Himura2la
Created December 6, 2024 08:43
Show Gist options
  • Save Himura2la/2eb4a4816b4921e6c01e5915fe00a184 to your computer and use it in GitHub Desktop.
Save Himura2la/2eb4a4816b4921e6c01e5915fe00a184 to your computer and use it in GitHub Desktop.
Use OpenSSL to get information on a remote TLS cert
ssl-query() { openssl s_client -connect "$1" </dev/null | openssl x509 -text -noout; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment