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
a0923622
Commit
a0923622
authored
Mar 21, 2018
by
neilpang
Browse files
fix
https://github.com/Neilpang/acme.sh/issues/1029
https://github.com/Neilpang/acme.sh/wiki/dns-manual-mode
parent
d3da6032
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
a0923622
...
...
@@ -110,10 +110,14 @@ _STATELESS_WIKI="https://github.com/Neilpang/acme.sh/wiki/Stateless-Mode"
_DNS_ALIAS_WIKI
=
"https://github.com/Neilpang/acme.sh/wiki/DNS-alias-mode"
_DNS_MANUAL_WIKI
=
"https://github.com/Neilpang/acme.sh/wiki/dns-manual-mode"
_DNS_MANUAL_ERR
=
"The dns manual mode can not renew automatically, you must issue it again manually. You'd better use the other modes instead."
_DNS_MANUAL_WARN
=
"It seems that you are using dns manual mode. please take care:
$_DNS_MANUAL_ERR
"
_DNS_MANUAL_ERROR
=
"It seems that you are using dns manual mode. Read this link first:
$_DNS_MANUAL_WIKI
"
__INTERACTIVE
=
""
if
[
-t
1
]
;
then
__INTERACTIVE
=
"1"
...
...
@@ -3477,6 +3481,11 @@ issue() {
mkdir
-p
"
$DOMAIN_PATH
"
fi
if
_hasfield
"
$_web_roots
"
"
$W_DNS
"
&&
[
-z
"
$FORCE_DNS_MANUAL
"
]
;
then
_err
"
$_DNS_MANUAL_ERROR
"
return
1
fi
_debug
"Using ACME_DIRECTORY:
$ACME_DIRECTORY
"
_initAPI
...
...
@@ -5500,6 +5509,7 @@ Parameters:
--listen-v6 Force standalone/tls server to listen at ipv6.
--openssl-bin Specifies a custom openssl bin location.
--use-wget Force to use wget, if you have both curl and wget installed.
--yes-I-know-dns-manual-mode-enough-go-ahead-please Force to use dns manual mode:
$_DNS_MANUAL_WIKI
"
}
...
...
@@ -5988,6 +5998,9 @@ _process() {
shift
fi
;;
--yes-I-know-dns-manual-mode-enough-go-ahead-please
)
export
FORCE_DNS_MANUAL
=
1
;;
--log
|
--logfile
)
_log
=
"1"
_logfile
=
"
$2
"
...
...
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