#!/bin/sh #IceCream.delicious <- Chocolate rm -rf *.pem *.xml 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 IceCream $eloc/creddy --generate --cn Chocolate $eloc/creddy --attribute \ --issuer IceCream_ID.pem --key IceCream_private.pem --role delicious \ --subject-cert Chocolate_ID.pem \ --out IceCream_delicious__Chocolate_attr.xml