Corrections. In testss, use MD5 as digest algorithm so that the resulting certificates can be used for testssl with RSA.
diff --git a/test/Makefile.ssl b/test/Makefile.ssl index 02945de..8cd3be0 100644 --- a/test/Makefile.ssl +++ b/test/Makefile.ssl
@@ -206,7 +206,7 @@ @echo "Generate and verify a certificate request" @sh ./testgen -test_ss keyU.ss certU.ss certCA.ss: +test_ss keyU.ss certU.ss certCA.ss: testss @echo "Generate and certify a test certificate" @sh ./testss
diff --git a/test/testss b/test/testss index fc27c83..bcc4f52 100644 --- a/test/testss +++ b/test/testss
@@ -1,6 +1,6 @@ #!/bin/sh -digest='-mdc2' +digest='-md5' reqcmd="../apps/openssl req" x509cmd="../apps/openssl x509 $digest" verifycmd="../apps/openssl verify"
diff --git a/test/testssl b/test/testssl index 413a14e..9fc9bb2 100644 --- a/test/testssl +++ b/test/testssl
@@ -10,7 +10,7 @@ else cert="$2" fi -ssltest="./ssltest -key $1 -cert $2 -c_key $1 -c_cert $2" +ssltest="./ssltest -key $key -cert $cert -c_key $key -c_cert $cert" if ../apps/openssl x509 -in $cert -text -noout | fgrep 'DSA Public Key'; then dsa_cert=YES