|
|
@ -233,17 +233,12 @@ _initpath() {
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p $WORKING_DIR/$domain
|
|
|
|
mkdir -p $WORKING_DIR/$domain
|
|
|
|
|
|
|
|
|
|
|
|
if [ -z "$CSR_PATH" ] ; then
|
|
|
|
|
|
|
|
CSR_PATH=$WORKING_DIR/$domain/$domain.csr
|
|
|
|
CSR_PATH=$WORKING_DIR/$domain/$domain.csr
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ -z "$CERT_KEY_PATH" ] ; then
|
|
|
|
|
|
|
|
CERT_KEY_PATH=$WORKING_DIR/$domain/$domain.key
|
|
|
|
CERT_KEY_PATH=$WORKING_DIR/$domain/$domain.key
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ -z "$CERT_PATH" ] ; then
|
|
|
|
|
|
|
|
CERT_PATH=$WORKING_DIR/$domain/$domain.cer
|
|
|
|
CERT_PATH=$WORKING_DIR/$domain/$domain.cer
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|