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
@ -206,7 +206,7 @@ test_gen:
|
|||||||
@echo "Generate and verify a certificate request"
|
@echo "Generate and verify a certificate request"
|
||||||
@sh ./testgen
|
@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"
|
@echo "Generate and certify a test certificate"
|
||||||
@sh ./testss
|
@sh ./testss
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
digest='-mdc2'
|
digest='-md5'
|
||||||
reqcmd="../apps/openssl req"
|
reqcmd="../apps/openssl req"
|
||||||
x509cmd="../apps/openssl x509 $digest"
|
x509cmd="../apps/openssl x509 $digest"
|
||||||
verifycmd="../apps/openssl verify"
|
verifycmd="../apps/openssl verify"
|
||||||
|
@ -10,7 +10,7 @@ if [ "$2" = "" ]; then
|
|||||||
else
|
else
|
||||||
cert="$2"
|
cert="$2"
|
||||||
fi
|
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
|
if ../apps/openssl x509 -in $cert -text -noout | fgrep 'DSA Public Key'; then
|
||||||
dsa_cert=YES
|
dsa_cert=YES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user