Cannot obtain lets encrypt certificate

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

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

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

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

What can be done to make certificates work again?