2
0
mirror of https://github.com/acmesh-official/acme.sh synced 2025-08-30 22:05:34 +00:00

Merge pull request #3423 from ghen2/dev

No need to include EC parameters explicitly with the private key.
This commit is contained in:
neil
2021-02-24 21:46:09 +08:00
committed by GitHub

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"