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
6c0a7144
Commit
6c0a7144
authored
Jan 24, 2023
by
neil
Browse files
fix
https://github.com/acmesh-official/acme.sh/issues/4445
parent
bf50fce5
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
6c0a7144
...
@@ -7122,7 +7122,9 @@ _selectServer() {
...
@@ -7122,7 +7122,9 @@ _selectServer() {
_getCAShortName
()
{
_getCAShortName
()
{
caurl
=
"
$1
"
caurl
=
"
$1
"
if
[
-z
"
$caurl
"
]
;
then
if
[
-z
"
$caurl
"
]
;
then
caurl
=
"
$DEFAULT_CA
"
#use letsencrypt as default value if the Le_API is empty
#this case can only come from the old upgrading.
caurl
=
"
$CA_LETSENCRYPT_V2
"
fi
fi
if
[
"
$CA_SSLCOM_ECC
"
=
"
$caurl
"
]
;
then
if
[
"
$CA_SSLCOM_ECC
"
=
"
$caurl
"
]
;
then
caurl
=
"
$CA_SSLCOM_RSA
"
#just hack to get the short name
caurl
=
"
$CA_SSLCOM_RSA
"
#just hack to get the short name
...
...
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