5 if test "$OSTYPE" = msdosdjgpp; then
12 SSLEAY_CONFIG="-config CAss.cnf"
15 OPENSSL="`pwd`/../util/opensslwrap.sh"
20 # Could do '...CA.pl -newca <<EOF || exit 1
21 # EOF' but that seems too obscure to me. :)
22 OPENSSL_CONFIG=/dev/null $PERL ../apps/CA.pl -newca <<EOF
24 [ $? -eq 0 ] || exit 1
26 SSLEAY_CONFIG="-config Uss.cnf"
28 $PERL ../apps/CA.pl -newreq || exit 1
30 SSLEAY_CONFIG="-config ../apps/openssl.cnf"
34 $PERL ../apps/CA.pl -sign <<EOF
38 [ $? -eq 0 ] || exit 1
41 $PERL ../apps/CA.pl -verify newcert.pem || exit 1
43 /bin/rm -fr demoCA newcert.pem newreq.pem