Browse Source
Update fortigate.sh
Workaround for issue with duplicate certificate names
pull/6217/head
Gondolf
10 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
deploy/fortigate.sh
|
|
|
@ -71,7 +71,7 @@ EOF |
|
|
|
|
|
|
|
# Main function |
|
|
|
fortigate_deploy() { |
|
|
|
_cdomain=$(echo "$1" | sed 's/*/WILDCARD_/g') |
|
|
|
_cdomain="$(echo "$1" | sed 's/*/WILDCARD_/g')_$(date -u +"%Y-%m-%d")" # Append date to certname to avoid conflicts |
|
|
|
_ckey="$2" |
|
|
|
_cfullchain="$5" |
|
|
|
|
|
|
|
|