Created
December 18, 2014 18:37
-
-
Save SamWhited/aaf1ff4353de9f06a502 to your computer and use it in GitHub Desktop.
Test ejabberd SSL ciphers with 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 | |
CIPHERS=`grep ^s2s_ciphers /etc/ejabberd/ejabberd.yml | cut -d\" -f2 | sed 's,:,\n,g'` | |
for CIPHER in $CIPHERS; do | |
echo "Testing: ${CIPHER}..." | |
openssl s_client -connect samwhited.com:5269 -starttls xmpp -cipher ${CIPHER} || echo "Fail" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment