I'm receiving this message when trying to create a certificate with ACME. How can this be resolved?
Also what's strange about this, is that KeyLength says 4096 while I changed, restarted and retried with keylength 2048.
2022-04-28T00:00:02 acme.sh [Thu Apr 28 00:00:02 CEST 2022] Create domain key error.
2022-04-28T00:00:02 acme.sh [Thu Apr 28 00:00:02 CEST 2022] Add '--force', and try again.
2022-04-28T00:00:02 acme.sh [Thu Apr 28 00:00:02 CEST 2022] Domain key exists, do you want to overwrite the key?
2022-04-28T00:00:02 acme.sh [Thu Apr 28 00:00:02 CEST 2022] ACME_DIRECTORY='https://acme-staging-v02.api.letsencrypt.org/directory'
2022-04-28T00:00:02 acme.sh [Thu Apr 28 00:00:02 CEST 2022] Using config home:/var/etc/acme-client/home
2022-04-28T00:00:02 acme.sh [Thu Apr 28 00:00:02 CEST 2022] Creating domain key
2022-04-28T00:00:02 acme.sh [Thu Apr 28 00:00:02 CEST 2022] Read key length:4096
2022-04-28T00:00:02 acme.sh [Thu Apr 28 00:00:02 CEST 2022] _saved_account_key_hash is not changed, skip register account.
By simply removing the certificate and reinstalling the error was solved.