From 8933d2b5b0a9c3beab83ea2bbe187e145069b9d0 Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Sat, 27 Jun 2020 20:25:36 +0200 Subject: [PATCH] Update v-install-unsigned-ssl --- bin/v-install-unsigned-ssl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/v-install-unsigned-ssl b/bin/v-install-unsigned-ssl index 8f126c3de..85727c33e 100644 --- a/bin/v-install-unsigned-ssl +++ b/bin/v-install-unsigned-ssl @@ -24,6 +24,9 @@ else restart=$2 fi +source /usr/local/vesta/func/main.sh +source /usr/local/vesta/func/domain.sh + #----------------------------------------------------------# # Verifications # #----------------------------------------------------------# @@ -63,9 +66,6 @@ sed -n "1,${crt_end}p" $TMPLOC/vst.pem > $TMPLOC/$domain.crt sed -n "$key_start,${key_end}p" $TMPLOC/vst.pem > $TMPLOC/$domain.key chmod 666 $TMPLOC/* -source /usr/local/vesta/func/main.sh -source /usr/local/vesta/func/domain.sh - USER_DATA="/usr/local/vesta/data/users/$user"; get_domain_values 'web'