Browse Source

2016-05-23 Added option to provide a blank response in create-getssl-config for things like SANS. (0.4)

pull/41/head
srvrco 10 years ago
parent
commit
467cc3def8
2 changed files with 9 additions and 2 deletions
  1. +7
    -2
      create-getssl-config
  2. +2
    -0
      getssl

+ 7
- 2
create-getssl-config View File

@ -19,10 +19,11 @@
# 2016-02-04 Created (v0.1)
# 2016-02-05 Updated to include more variables. Still not full operational. (v0.2)
# 2016-05-04 Corrected typo on DNS_DEL_COMMAND (v0.3)
# 2016-05-23 Added option to provide a blank response, for things like SANS. (0.4)
# ---------------------------------------------------------------------------
PROGNAME=${0##*/}
VERSION="0.3"
VERSION="0.4"
# defaults
CA="https://acme-staging.api.letsencrypt.org"
@ -101,6 +102,9 @@ get_user_input() {
echo ""
echo "$HelpInfo"
echo ""
elif [[ "$response" == "-" ]]; then
res=""
validresponse="true"
else
res=$response
validresponse="true"
@ -345,7 +349,8 @@ if [[ ! -z ${REMOTE_PORT} ]]; then
fi
get_user_input "Additional domain names" "${SANS}" \
"this could be multiple domains / subdomains in a comma separated list"
"this could be multiple domains / subdomains in a comma separated list" \
"use the minus sign - if you don't want any SANS"
SANS=$res
get_user_input "Validate via DNS" "${VALIDATE_VIA_DNS}" \


+ 2
- 0
getssl View File

@ -253,6 +253,8 @@ write_domain_template() { # write out a template file for a domain.
#DNS_ADD_COMMAND=
#DNS_DEL_COMMAND=
# If your DNS-server needs extra time to make sure your DNS changes are readable by the ACME-server (time in seconds)
AUTH_DNS_SERVER=""
#DNS_WAIT=10
#DNS_EXTRA_WAIT=60
_EOF_domain_
}


Loading…
Cancel
Save