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
cbcd7e0f
Commit
cbcd7e0f
authored
Aug 25, 2016
by
neil
Browse files
minor, fix format
parent
3aae1ae3
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
cbcd7e0f
...
@@ -405,13 +405,13 @@ _createkey() {
...
@@ -405,13 +405,13 @@ _createkey() {
length
=
2048
length
=
2048
fi
fi
_
info
"Use length
$length
"
_
debug
"Use length
$length
"
if
_isEccKey
"
$length
"
;
then
if
_isEccKey
"
$length
"
;
then
_
info
"Using ec name:
$eccname
"
_
debug
"Using ec name:
$eccname
"
openssl ecparam
-name
$eccname
-genkey
2>/dev/null
>
"
$f
"
openssl ecparam
-name
$eccname
-genkey
2>/dev/null
>
"
$f
"
else
else
_
info
"Using RSA:
$length
"
_
debug
"Using RSA:
$length
"
openssl genrsa
$length
2>/dev/null
>
"
$f
"
openssl genrsa
$length
2>/dev/null
>
"
$f
"
fi
fi
...
@@ -532,7 +532,7 @@ createAccountKey() {
...
@@ -532,7 +532,7 @@ createAccountKey() {
fi
fi
if
[
-z
"
$length
"
]
||
[
"
$length
"
=
"no"
]
;
then
if
[
-z
"
$length
"
]
||
[
"
$length
"
=
"no"
]
;
then
_
info
"Use default length 2048"
_
debug
"Use default length 2048"
length
=
2048
length
=
2048
fi
fi
_debug length
"
$length
"
_debug length
"
$length
"
...
@@ -1766,8 +1766,8 @@ issue() {
...
@@ -1766,8 +1766,8 @@ issue() {
_info
"Found domain api file:
$d_api
"
_info
"Found domain api file:
$d_api
"
else
else
_err
"Add the following TXT record:"
_err
"Add the following TXT record:"
_err
"Domain:
$txtdomain
"
_err
"Domain:
'
$(
__green
$txtdomain
)
'
"
_err
"TXT value:
$txt
"
_err
"TXT value:
'
$(
__green
$txt
)
'
"
_err
"Please be aware that you prepend _acme-challenge. before your domain"
_err
"Please be aware that you prepend _acme-challenge. before your domain"
_err
"so the resulting subdomain will be:
$txtdomain
"
_err
"so the resulting subdomain will be:
$txtdomain
"
continue
continue
...
...
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