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
commit 2b01d4a203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"