use RSA authentication, rather than only those that use RSA key exchange.
echo "Testing ciphersuites"
for protocol in SSLv3 TLSv1.2; do
echo "Testing ciphersuites for $protocol"
- for cipher in `$openssl ciphers "RSA+$protocol" | tr ':' ' '`; do
+ for cipher in `$openssl ciphers "$protocol+aRSA" | tr ':' ' '`; do
echo "Testing $cipher"
prot=""
if [ $protocol = "SSLv3" ] ; then
fi
$ssltest -cipher $cipher $prot
if [ $? -ne 0 ] ; then
- echo "Failed $cipher"
- exit 1
+ echo "Failed $cipher"
+ exit 1
fi
done
done
echo "Testing $cipher"
$ssltest -cipher $cipher -dtls1
if [ $? -ne 0 ] ; then
- echo "Failed $cipher"
- exit 1
+ echo "Failed $cipher"
+ exit 1
fi
done
done