Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
ec67a1b2
Commit
ec67a1b2
authored
Dec 28, 2018
by
neilpang
Browse files
Do not limit the renew days to 60, it's just a default value.
buypass support 180 days.
parent
7ba9a597
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
ec67a1b2
...
@@ -40,7 +40,7 @@ VTYPE_ALPN="tls-alpn-01"
...
@@ -40,7 +40,7 @@ VTYPE_ALPN="tls-alpn-01"
LOCAL_ANY_ADDRESS
=
"0.0.0.0"
LOCAL_ANY_ADDRESS
=
"0.0.0.0"
MAX
_RENEW
=
60
DEFAULT
_RENEW
=
60
DEFAULT_DNS_SLEEP
=
120
DEFAULT_DNS_SLEEP
=
120
...
@@ -4267,8 +4267,8 @@ $_authorizations_map"
...
@@ -4267,8 +4267,8 @@ $_authorizations_map"
Le_CertCreateTimeStr
=
$(
date
-u
)
Le_CertCreateTimeStr
=
$(
date
-u
)
_savedomainconf
"Le_CertCreateTimeStr"
"
$Le_CertCreateTimeStr
"
_savedomainconf
"Le_CertCreateTimeStr"
"
$Le_CertCreateTimeStr
"
if
[
-z
"
$Le_RenewalDays
"
]
||
[
"
$Le_RenewalDays
"
-lt
"0"
]
||
[
"
$Le_RenewalDays
"
-gt
"
$MAX_RENEW
"
]
;
then
if
[
-z
"
$Le_RenewalDays
"
]
||
[
"
$Le_RenewalDays
"
-lt
"0"
]
;
then
Le_RenewalDays
=
"
$
MAX
_RENEW
"
Le_RenewalDays
=
"
$
DEFAULT
_RENEW
"
else
else
_savedomainconf
"Le_RenewalDays"
"
$Le_RenewalDays
"
_savedomainconf
"Le_RenewalDays"
"
$Le_RenewalDays
"
fi
fi
...
@@ -5520,7 +5520,7 @@ Parameters:
...
@@ -5520,7 +5520,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, only valid for the '--install' and '--update-account' command.
--accountemail Specifies the account email, only valid for the '--install' and '--update-account' 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.
--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
default
value is
$
DEFAULT
_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.
--local-address Specifies the standalone/tls server listening address, in case you have multiple ip addresses.
--local-address Specifies the standalone/tls server listening address, in case you have multiple ip addresses.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment