Skip to content

Commit

Permalink
update test scripts for openssl 1.1.1 (no more 3des and rc4)
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesm committed Jan 7, 2019
1 parent c36c66f commit fcd965e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
19 changes: 12 additions & 7 deletions tests/interop-openssl-sclient.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,19 @@ testit
extra_args="-tls1_2"
testit

ciphers="DHE-RSA-AES256-SHA AES256-SHA DHE-RSA-AES128-SHA AES128-SHA EDH-RSA-DES-CBC3-SHA DES-CBC3-SHA RC4-SHA RC4-MD5"
ciphers="DHE-RSA-AES256-SHA AES256-SHA DHE-RSA-AES128-SHA AES128-SHA"
#OpenSSL <1.1.1:
#EDH-RSA-DES-CBC3-SHA DES-CBC3-SHA RC4-SHA RC4-MD5
for i in $ciphers; do
if [ $i != "RC4-MD5" ]; then
extra_args="-cipher $i"
testit
else
echo "not testing RC4-MD5 without tls version (openssl will use SSLv2 which fails)"
fi
# if [ $i != "RC4-MD5" ]; then
# extra_args="-cipher $i"
# testit
# else
# echo "not testing RC4-MD5 without tls version (openssl will use SSLv2 which fails)"
# fi

extra_args="-cipher $i"
testit

extra_args="-tls1 -cipher $i"
testit
Expand Down
6 changes: 4 additions & 2 deletions tests/interop-openssl-sserver.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

s_server_args="s_server -no_tmp_rsa -quiet -key ../certificates/server.key -cert ../certificates/server.pem -www -dhparam dh.pem "
s_server_args="s_server -quiet -key ../certificates/server.key -cert ../certificates/server.pem -www -dhparam dh.pem "

pidfile='/tmp/openssl.pid'

Expand Down Expand Up @@ -35,7 +35,9 @@ testit
extra_args="-tls1_2"
testit

ciphers="DHE-RSA-AES256-SHA AES256-SHA DHE-RSA-AES128-SHA AES128-SHA EDH-RSA-DES-CBC3-SHA DES-CBC3-SHA RC4-SHA RC4-MD5"
ciphers="DHE-RSA-AES256-SHA AES256-SHA DHE-RSA-AES128-SHA AES128-SHA"
#OpenSSL <1.1.1:
#EDH-RSA-DES-CBC3-SHA DES-CBC3-SHA RC4-SHA RC4-MD5
for i in $ciphers; do
extra_args="-cipher $i"
testit
Expand Down

0 comments on commit fcd965e

Please sign in to comment.