mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-05 19:34:55 +00:00
Fix CSR renewal on private key removal
Signed-off-by: Stéphane Este-Gracias <sestegra@gmail.com>
This commit is contained in:
parent
fc1df9f9a5
commit
6541166688
2
acme.sh
2
acme.sh
@ -4396,7 +4396,7 @@ issue() {
|
||||
_debug "_saved_account_key_hash is not changed, skip register account."
|
||||
fi
|
||||
|
||||
if [ -f "$CSR_PATH" ] && [ ! -f "$CERT_KEY_PATH" ]; then
|
||||
if [ -f "$CSR_PATH" ] && [ -f "$CERT_KEY_PATH" ] && [ ! "$Le_ForceNewDomainKey" = "1" ]; then
|
||||
_info "Signing from existing CSR."
|
||||
else
|
||||
# When renewing from an old version, the empty Le_Keylength means 2048.
|
||||
|
Loading…
x
Reference in New Issue
Block a user