2
0
mirror of https://github.com/acmesh-official/acme.sh synced 2025-08-30 13:58:33 +00:00

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
_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"
else
_err "error ecc key name: $eccname"