Last active
August 29, 2015 14:06
-
-
Save randomoracle/1d79ce72455881dee258 to your computer and use it in GitHub Desktop.
Check ciphersuites supported by a website using openssl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
HOSTNAME=$1 | |
for cipher in `openssl ciphers | tr ":" "\n"`; | |
do | |
echo | openssl s_client -connect $HOSTNAME:443 -servername $HOSTNAME -cipher $cipher 2>&1; | |
done | grep "Cipher.is" | grep -v NONE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment