Skip to content

Instantly share code, notes, and snippets.

@Zobber
Created April 19, 2020 22:11
Show Gist options
  • Select an option

  • Save Zobber/531077c0de4b67c7ec886cbd794e1f1b to your computer and use it in GitHub Desktop.

Select an option

Save Zobber/531077c0de4b67c7ec886cbd794e1f1b to your computer and use it in GitHub Desktop.
Grep hostnames from ssl certificate
echo | openssl s_client -connect example\.com | openssl x509 -noout -text | grep DNS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment