This commit is contained in:
neilpang 2019-05-04 10:43:39 +08:00
parent a77f2fa424
commit 0f86651089
2 changed files with 2 additions and 3 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
.autogit

View File

@ -1119,9 +1119,9 @@ _createcsr() {
domainlist="$(_idn "$domainlist")" domainlist="$(_idn "$domainlist")"
_debug2 domainlist "$domainlist" _debug2 domainlist "$domainlist"
if _contains "$domainlist" ","; then if _contains "$domainlist" ","; then
alt="DNS:$domain,DNS:$(echo "$domainlist" | sed "s/,,/,/g" | sed "s/,/,DNS:/g")" alt="DNS:$(_idn $domain),DNS:$(echo "$domainlist" | sed "s/,,/,/g" | sed "s/,/,DNS:/g")"
else else
alt="DNS:$domain,DNS:$domainlist" alt="DNS:$(_idn $domain),DNS:$domainlist"
fi fi
#multi #multi
_info "Multi domain" "$alt" _info "Multi domain" "$alt"