#!/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 --roles --cert Acme_ID.pem
$eloc/creddy --roles --cert Acme_private.pem
$eloc/creddy --roles --cert Acme_buy_rockets__Acme_preferred_customer_attr.xml
$eloc/creddy --roles --cert bad.xml
