test_verify:
@echo "The following command should have some OK's and some failures"
@echo "There are definitly a few expired certificates"
- ../apps/ssleay verify -CApath ../certs ../certs/*.pem
+ ../apps/openssl verify -CApath ../certs ../certs/*.pem
test_dh:
@echo "Generate as set of DH parameters"
PATH=../apps:$PATH
export PATH
-cmd='../apps/ssleay crl'
+cmd='../apps/openssl crl'
if [ "$1"x != "x" ]; then
t=$1
fi
-SSLEAY_CONFIG="-config ../apps/ssleay.cnf"
+SSLEAY_CONFIG="-config ../apps/openssl.cnf"
export SSLEAY_CONFIG
$SH ../apps/CA.sh -sign <<EOF
y
testsrc=Makefile.ssl
test=./p
-cmd=../apps/ssleay
+cmd=../apps/openssl
cat $testsrc >$test;
echo "There should not be more that at most 80 per line"
echo "This could take some time."
-../apps/ssleay req -config test.cnf -new -out testreq.pem
+../apps/openssl req -config test.cnf -new -out testreq.pem
if [ $? != 0 ]; then
echo problems creating request
exit 1
fi
-../apps/ssleay req -verify -in testreq.pem -noout
+../apps/openssl req -verify -in testreq.pem -noout
if [ $? != 0 ]; then
echo signature on req is wrong
exit 1
#!/bin/sh
digest='-mdc2'
-reqcmd="../apps/ssleay req"
-x509cmd="../apps/ssleay x509 $digest"
-verifycmd="../apps/ssleay verify"
+reqcmd="../apps/openssl req"
+x509cmd="../apps/openssl x509 $digest"
+verifycmd="../apps/openssl verify"
CAkey="keyCA.ss"
CAcert="certCA.ss"
PATH=../apps:$PATH
export PATH
-cmd='../apps/ssleay pkcs7'
+cmd='../apps/openssl pkcs7'
if [ "$1"x != "x" ]; then
t=$1
PATH=../apps:$PATH
export PATH
-cmd='../apps/ssleay pkcs7'
+cmd='../apps/openssl pkcs7'
if [ "$1"x != "x" ]; then
t=$1
t=pkcs7-1.pem
fi
-echo testing pkcs7 conversions
+echo "testing pkcs7 conversions (2)"
cp $t fff.p
echo "p -> d"
PATH=../apps:$PATH
export PATH
-cmd='../apps/ssleay req'
+cmd='../apps/openssl req'
if [ "$1"x != "x" ]; then
t=$1
PATH=../apps:$PATH
export PATH
-cmd='../apps/ssleay rsa'
+cmd='../apps/openssl rsa'
if [ "$1"x != "x" ]; then
t=$1
PATH=../apps:$PATH
export PATH
-cmd='../apps/ssleay sess_id'
+cmd='../apps/openssl sess_id'
if [ "$1"x != "x" ]; then
t=$1
PATH=../apps:$PATH
export PATH
-cmd='../apps/ssleay x509'
+cmd='../apps/openssl x509'
if [ "$1"x != "x" ]; then
t=$1