In testss, use MD5 as digest algorithm so that the resulting
certificates can be used for testssl with RSA.
@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
#!/bin/sh
-digest='-mdc2'
+digest='-md5'
reqcmd="../apps/openssl req"
x509cmd="../apps/openssl x509 $digest"
verifycmd="../apps/openssl verify"
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