Quick way to validate a web server SSL configuration will work with SNI / Java 7+ http://stackoverflow.com/questions/7615645/ssl-handshake-alert-unrecognized-name-error-since-upgrade-to-java-1-7-0
| #!/bin/zsh | |
| SERVER=$1 | |
| echo "Testing $1...\r\n" | |
| echo -e "HEAD / HTTP/1.0\r\nHost: $SERVER\r\n\r\n" | /usr/local/Cellar/openssl/1.0.2j/bin/openssl s_client -servername $SERVER -connect $SERVER:443 -state -quiet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment