CAPATH=`../bin/domtool-config -path cert ca`
BASE_OPENSSL_CONFIG=`../bin/domtool-config -domain`.core.ssl.conf
+if [ ! -f $BASE_OPENSSL_CONFIG ]; then
+ echo "You need to create $BASE_OPENSSL_CONFIG before continuing"
+ exit 1
+fi
+
cat $BASE_OPENSSL_CONFIG common.ssl.conf > domtool-openssl.conf
if [ -z "$CAPATH" ]; then