Skip to content

Instantly share code, notes, and snippets.

@threesquared
Created October 24, 2018 10:03
Show Gist options
  • Save threesquared/715e72ee212e5f5ba84fe7b7f1ab8f35 to your computer and use it in GitHub Desktop.
Save threesquared/715e72ee212e5f5ba84fe7b7f1ab8f35 to your computer and use it in GitHub Desktop.
Validate SSL SNI certificate settings from the command line
echo | openssl s_client -showcerts -servername sni-domain.com -connect webserver.com:443 2>/dev/null | openssl x509 -inform pem -noout -text | grep "Subject:"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment