We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1112e99 commit 8990383Copy full SHA for 8990383
bin/v-add-web-domain-ssl
@@ -77,6 +77,11 @@ if [ -e "$ssl_dir/$domain.ca" ]; then
77
fi
78
chmod 660 $USER_DATA/ssl/$domain.*
79
80
+# Ensure SSL directory exists
81
+if [ ! -d $HOMEDIR/$user/conf/web/$domain/ssl ]; then
82
+ mkdir -p $HOMEDIR/$user/conf/web/$domain/ssl/
83
+fi
84
+
85
# Adding certificate to user dir
86
cp -f $USER_DATA/ssl/$domain.crt $HOMEDIR/$user/conf/web/$domain/ssl/$domain.crt
87
cp -f $USER_DATA/ssl/$domain.key $HOMEDIR/$user/conf/web/$domain/ssl/$domain.key
0 commit comments