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 9a9dabb commit 8a21735Copy full SHA for 8a21735
bin/v-restore-user
@@ -373,7 +373,9 @@ if [ "$web" != 'no' ] && [ ! -z "$WEB_SYSTEM" ]; then
373
374
# Copying ssl certificates
375
if [ "$SSL" = 'yes' ]; then
376
- for crt in $(ls $tmpdir/web/$domain/conf |grep ssl); do
+ certificates=$(ls $tmpdir/web/$domain/conf| grep ssl)
377
+ certificates=$(echo "$certificates" |grep $domain)
378
+ for crt in $certificates; do
379
crt=$(echo $crt|sed -e "s/ssl.//")
380
cp -f $tmpdir/web/$domain/conf/ssl.$crt $USER_DATA/ssl/$crt
381
done
0 commit comments