mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-10 00:11:45 +00:00
This commit is contained in:
parent
7c2e875494
commit
81532f375e
9
acme.sh
9
acme.sh
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user