Merge 3aaeb0df9776d9768fcf6f85e9e76aada0c17b91 into ac7361a55e2cda5dcef2deea9a697454e01ff3a8

This commit is contained in:
Daniel Jeffery 2017-07-09 01:20:45 +00:00 committed by GitHub
commit 07441c79b5

View File

@ -5088,6 +5088,7 @@ Parameters:
--useragent Specifies the user agent string. it will be saved for future use too. --useragent Specifies the user agent string. it will be saved for future use too.
--accountemail Specifies the account email for registering, Only valid for the '--install' command. --accountemail Specifies the account email for registering, Only valid for the '--install' command.
--accountkey Specifies the account key path, Only valid for the '--install' command. --accountkey Specifies the account key path, Only valid for the '--install' command.
--server [acme api url] Specifies the particular acme api endpoint to use (e.g. https://acme-v01.api.letsencrypt.org)
--days Specifies the days to renew the cert when using '--issue' command. The max value is $MAX_RENEW days. --days Specifies the days to renew the cert when using '--issue' command. The max value is $MAX_RENEW days.
--httpport Specifies the standalone listening port. Only valid if the server is behind a reverse proxy or load balancer. --httpport Specifies the standalone listening port. Only valid if the server is behind a reverse proxy or load balancer.
--tlsport Specifies the standalone tls listening port. Only valid if the server is behind a reverse proxy or load balancer. --tlsport Specifies the standalone tls listening port. Only valid if the server is behind a reverse proxy or load balancer.
@ -5215,6 +5216,7 @@ _process() {
_useragent="" _useragent=""
_accountemail="" _accountemail=""
_accountkey="" _accountkey=""
_apiurl=""
_certhome="" _certhome=""
_confighome="" _confighome=""
_httpport="" _httpport=""
@ -5518,6 +5520,11 @@ _process() {
ACCOUNT_KEY_PATH="$_accountkey" ACCOUNT_KEY_PATH="$_accountkey"
shift shift
;; ;;
--server)
_apiurl="$2"
API="$_apiurl"
shift
;;
--days) --days)
_days="$2" _days="$2"
Le_RenewalDays="$_days" Le_RenewalDays="$_days"