mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 21:34:11 -07:00
wildcard support for SSL generator
This commit is contained in:
parent
18ebaec857
commit
3e8f6b622b
1 changed files with 2 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
|||
domain=$1
|
||||
domain=$(echo $domain | sed -e 's/\.*$//g' -e 's/^\.*//g')
|
||||
domain=$(echo $domain | tr '[:upper:]' '[:lower:]')
|
||||
domain_alias=$domain
|
||||
email=$2
|
||||
country=$3
|
||||
state=$4
|
||||
|
@ -57,7 +58,7 @@ shell_list_ssl() {
|
|||
#----------------------------------------------------------#
|
||||
|
||||
check_args '7' "$#" 'DOMAIN EMAIL COUNTRY STATE CITY ORG UNIT [FORMAT]'
|
||||
validate_format 'domain' 'format'
|
||||
validate_format 'domain_alias' 'format'
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue