Let's Encrypt certificate - failed installation

Hi! I’m having trouble installing a Let’s Encrypt on my yunohost server. I keep getting the same error message, as in the below log. I’m very new to self-hosting, so feeling slightly over my head…

My YunoHost server

Hardware: Raspberry Pi 4 B
YunoHost version:
I have access to my server : through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

As above, here’s a log of the error message I keep receiving when trying to install the certificate:

force: false
no_checks: false
staging: false
ended_at: 2021-07-23 07:31:07.400107
error: 'Certificate installation for maindomain.tld failed !

Exception: Could not sign the new certificate’
interface: api
operation: letsencrypt_cert_install
parent: null

    • domain
    • maindomain.tld
      started_at: 2021-07-23 07:28:41.966201
      success: false


2021-07-23 08:28:42,000: DEBUG - Making sure tmp folders exists…
2021-07-23 08:28:42,028: DEBUG - Fetching IP from https://ip.yunohost.org
2021-07-23 08:28:42,224: DEBUG - IP fetched: xx.xx.xx.xx
2021-07-23 08:28:42,250: DEBUG - No default route for IPv6, so assuming there’s no IP address for that version
2021-07-23 08:28:42,251: DEBUG - IP fetched: None
2021-07-23 08:28:42,253: DEBUG - Prepare key and certificate signing request (CSR) for maindomain.tld…
2021-07-23 08:28:43,758: DEBUG - Saving to /tmp/acme-challenge-private/maindomain.tld.csr.
2021-07-23 08:28:43,759: DEBUG - Now using ACME Tiny to sign the certificate…
2021-07-23 08:28:43,759: INFO - Parsing account key…
2021-07-23 08:28:43,783: INFO - Parsing CSR…
2021-07-23 08:28:43,807: INFO - Found domains: xmpp-upload.maindomain.tld, maindomain.tld
2021-07-23 08:28:43,809: INFO - Getting directory…
2021-07-23 08:28:44,455: INFO - Directory found!
2021-07-23 08:28:44,455: INFO - Registering account…
2021-07-23 08:28:46,009: INFO - Already registered!
2021-07-23 08:28:46,017: INFO - Creating new order…
2021-07-23 08:28:47,480: INFO - Order created!
2021-07-23 08:28:48,937: INFO - Verifying maindomain.tld…
2021-07-23 08:28:51,881: INFO - maindomain.tld verified!
2021-07-23 08:28:53,289: INFO - Verifying xmpp-upload.maindomain.tld…
2021-07-23 08:31:07,353: ERROR - Wrote file to /tmp/acme-challenge-public/qAXwfj6o3tAP-qGF7007XQn0Kyx9Jn1EPStUoSKh9ZE, but couldn’t download http://xmpp-upload.maindomain.tld/.well-known/acme-challenge/qAXwfj6o3tAP-qGF7007XQn0Kyx9Jn1EPStUoSKh9ZE: Error:
Url: http://xmpp-upload.maindomain.tld/.well-known/acme-challenge/qAXwfj6o3tAP-qGF7007XQn0Kyx9Jn1EPStUoSKh9ZE
Data: None
Response Code: None
Response: <urlopen error [Errno 110] Connection timed out>
2021-07-23 08:31:07,355: ERROR - Certificate installation for maindomain.tld failed !
Exception: Could not sign the new certificate

Any help would be hugely appreciated!

Have you an error about dns resolution in Webadmin > diagnostic ?

Try to run this before:

yunohost tools regen-conf dnsmasq --force

Hi there, thanks very much for your response. I think I’ve resolved this now - I hadn’t set up the port forwarding correctly before, but have now done so and been able to sort out the certification. Thanks again.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.