X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/0f9f712c42a2edc78be0656f2c167265167df48a..400fd64b3e8a53f43534eb5cf23ad4cfcf79ce93:/bootstrap/domtool-create-ca diff --git a/bootstrap/domtool-create-ca b/bootstrap/domtool-create-ca index 452c2e1..bab09ca 100755 --- a/bootstrap/domtool-create-ca +++ b/bootstrap/domtool-create-ca @@ -15,6 +15,11 @@ fi 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