Skip to content

Instantly share code, notes, and snippets.

@AnatomicJC
Created September 13, 2019 08:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AnatomicJC/b5778a1a6f7d0e08525c04b3590f193f to your computer and use it in GitHub Desktop.
Save AnatomicJC/b5778a1a6f7d0e08525c04b3590f193f to your computer and use it in GitHub Desktop.
Get SSL certificate details with curl
echo | openssl s_client -showcerts -servername doamin.ltd -connect domain.ltd:443 2>/dev/null | openssl x509 -inform pem -noout -text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment