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
81532f37
Commit
81532f37
authored
Feb 27, 2017
by
neil
Browse files
fix
https://github.com/Neilpang/acme.sh/issues/667#issuecomment-282629936
parent
7c2e8754
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
81532f37
...
@@ -927,6 +927,15 @@ _createkey() {
...
@@ -927,6 +927,15 @@ _createkey() {
_debug "Use length $length"
_debug "Use length $length"
if ! touch "$f" >/dev/null 2>&1; then
_f_path="$(dirname "$f")"
_debug _f_path "$_f_path"
if ! mkdir -p "$_f_path"; then
_err "Can not create path: $_f_path"
return 1
fi
fi
if _isEccKey "$length"; then
if _isEccKey "$length"; then
_debug "Using ec name: $eccname"
_debug "Using ec name: $eccname"
$ACME_OPENSSL_BIN ecparam -name "$eccname" -genkey 2>/dev/null >"$f"
$ACME_OPENSSL_BIN ecparam -name "$eccname" -genkey 2>/dev/null >"$f"
...
...
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