#!/bin/sh

T=testcert
KEY=512
CA=../certs/testca.pem

/bin/rm -f $T.1 $T.2 $T.key

PATH=../apps:$PATH;
export PATH

echo "generating certificate request"

echo "There should be a 2 sequences of .'s and some +'s."
echo "There should not be more that at most 80 per line"
echo "This could take some time."

../apps/ssleay req -config test.conf -new -out testreq.pem
../apps/ssleay req -verify -in testreq.pem -noout

exit 0
