Fail to generate or update a certificate

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:
pbx.garagepro.ch

I ran this command:
I don't know, I used the button to generate a new certificate in my FreePBX server

It produced this output:
LetsEncrypt Generation Failure

Unable to update challenge :: authorization must be pending

Processing: pbx.garagepro.ch, Local IP: 178.199.54.82, Public IP: 178.199.54.82 Self test: trying http://pbx.garagepro.ch/.freepbx-known/c3c9fa0f3448f7bdc83e4717eceb2283 Self test: received c3c9fa0f3448f7bdc83e4717eceb2283

My web server is (include version):
FreePBX server : FreePBX 17.0.21.12
webserver : unknow

The operating system my web server runs on is (include version):
debian 12

My hosting provider, if applicable, is:
self hosting in DMZ

I can login to a root shell on my machine (yes or no, or I don't know):
yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
yes
and I also use fwconsole

I am not familiar with the system so can't be much help. But, given your overall description of the problem this seems like something better asked at the FreePBX community. This is almost certainly a configuration problem of some kind at your end. The FreePBX experts should be able to help you.

Perhaps other volunteers here will have personal experience with that. But you should try FreePBX too just in case there are not.