Skip to content

Commit 3e8f6b6

Browse files
committed
wildcard support for SSL generator
1 parent 18ebaec commit 3e8f6b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/v-generate-ssl-cert

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
domain=$1
1414
domain=$(echo $domain | sed -e 's/\.*$//g' -e 's/^\.*//g')
1515
domain=$(echo $domain | tr '[:upper:]' '[:lower:]')
16+
domain_alias=$domain
1617
email=$2
1718
country=$3
1819
state=$4
@@ -57,7 +58,7 @@ shell_list_ssl() {
5758
#----------------------------------------------------------#
5859

5960
check_args '7' "$#" 'DOMAIN EMAIL COUNTRY STATE CITY ORG UNIT [FORMAT]'
60-
validate_format 'domain' 'format'
61+
validate_format 'domain_alias' 'format'
6162

6263

6364
#----------------------------------------------------------#

0 commit comments

Comments
 (0)