Corrections.
In testss, use MD5 as digest algorithm so that the resulting certificates can be used for testssl with RSA.
This commit is contained in:
parent
7d2509b6df
commit
95fabd2fbc
3 changed files with 3 additions and 3 deletions
|
@ -206,7 +206,7 @@ test_gen:
|
|||
@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
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
digest='-mdc2'
|
||||
digest='-md5'
|
||||
reqcmd="../apps/openssl req"
|
||||
x509cmd="../apps/openssl x509 $digest"
|
||||
verifycmd="../apps/openssl verify"
|
||||
|
|
|
@ -10,7 +10,7 @@ if [ "$2" = "" ]; then
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue