#!/bin/sh

pwd=`pwd`
eloc=`which creddy | sed 's/\/creddy//'`
if [ "$eloc" = "" ]; then
  echo "ERROR: creddy is not in the search path!!!"
  exit 1
fi

$eloc/creddy --generate --cn Bigbird
$eloc/creddy --generate --cn 12_3
## looks like optarg just picked up the 'Bad' part
$eloc/creddy --generate --cn Bad$name
$eloc/creddy --generate --cn abc --cert bad.xml
