No need to include EC parameters explicitly with the private key.

(they are embedded)
This commit is contained in:
Geert Hendrickx 2021-02-23 10:28:17 +01:00 committed by Alexander Kulumbeg
parent d078ce794e
commit a290f63a15

View File

@ -1124,7 +1124,7 @@ _createkey() {
if _isEccKey "$length"; then if _isEccKey "$length"; then
_debug "Using ec name: $eccname" _debug "Using ec name: $eccname"
if _opkey="$(${ACME_OPENSSL_BIN:-openssl} ecparam -name "$eccname" -genkey 2>/dev/null)"; then if _opkey="$(${ACME_OPENSSL_BIN:-openssl} ecparam -name "$eccname" -noout -genkey 2>/dev/null)"; then
echo "$_opkey" >"$f" echo "$_opkey" >"$f"
else else
_err "error ecc key name: $eccname" _err "error ecc key name: $eccname"