[SOLVED] Cannot obtain lets encrypt certificate

I’m using FreedomBox19.21, set up DynDNS so that I can reach it by freedombox.domain.de.

I tried to remove and recreate a certificate but get the same error every time:

I notice that the error message says something about freedombox.freedombox.domain.de which seems odd.

My hostname is “freedombox” and my domain name is “freedombox.domain.de”.

What can be done to make certificates work again?

Please check in /etc/letsencrypt/accounts/acme-v02.api.letsencrypt.org/directory and see if there are multiple account directories present. If there are, then you can try deleting the older one (I think it will start with “7a2f”).

Thank You!

I deleted the older one (there were two directories, the newer actually starting with “7a2f”) and could now successfully obtain a lets encrypt certificate.