Let's encrypt certificate install error

I have searched the forum for similar issues

on

This category is for general issues(=something is broken) regarding YunoHost, NOT apps.

on

This form is written in English but feel free to write in French if you’re more comfortable!

on

What type of hardware are you using

Other(?)

What YunoHost version are you running

YunoHost 12.1.41.2

How are you able to access your server

The webadmin
SSH

Describe your issue

I am having issues creating a SSL Let’s encrypt certificate. I have configured it through https://desec.io because the domain name provider nic.cl does not support DNS zone edits.

Share relevant logs or error messages

2026-10-26 11:16:10,178: ERROR - Challenge did not pass for domain5.tld: {'identifier': {'type': 'dns', 'value': 'domain5.tld'}, 'status': 'invalid', 'expires': '2026-11-02T14:15:44Z', 'challenges': [{'type': 'http-01', 'url': 'https://acme-v02.api.letsencrypt.org/acme/chall/1122502377/806818613602/gbG4_w', 'status': 'invalid', 'validated': '2026-10-26T14:15:46Z', 'error': {'type': 'urn:ietf:params:acme:error:connection', 'detail': 'xx.xx.xx.xx: Fetching http://domain5.tld/.well-known/acme-challenge/**********: Timeout during connect (likely firewall problem)', 'status': 400}, 'token': '**********', 'validationRecord': [{'url': 'http://domain5.tld/.well-known/acme-challenge/**********', 'hostname': 'domain5.tld', 'port': '80', 'addressesResolved': ['xx:xx:xx:xx:xx:xx', 'xx.xx.xx.xx'], 'addressUsed': 'xx:xx:xx:xx:xx:xx'}, {'url': 'http://domain5.tld/.well-known/acme-challenge/**********', 'hostname': 'domain5.tld', 'port': '80', 'addressesResolved': ['xx:xx:xx:xx:xx:xx', 'xx.xx.xx.xx'], 'addressUsed': 'xx.xx.xx.xx'}]}]}
2026-10-26 11:16:10,178: ERROR - Certificate installation for domain5.tld failed !
Exception: Could not sign the new certificate

full log:
https://paste.yunohost.org/raw/xaqukevega

ok I got the problem

The issue is because the DNS config that Yunohost suggests (which is wonderful)

does not consider the case in which you have a VPN tunnel in order to be able to open ports or have a fixed IP for your server when you can’t with your basic ISP (i.e. a CGNAT)

(a config like the one exposed here)

So it gives you the local IP, and not the remote VPS fixed public IP.

In fact, the diagnosis checks will always give errors…

it would be wonderful being able to set up a variable or something with the right IP

thanks!

here is more info:

In theory it should use your VPN IP at least if the request made by your server are done with the VPN IP, but it’s probably not the case here, and i am not sure it’s a good idea to do like this.

Yunohost deduces the public IP with something like curl https://ip.yunohost.org


I hope this answer was helpful. Please keep in mind that most of YunoHost’s development is done by volunteers, including this answer. Some of them earn less than the minimum wage in their country. If you can afford it, please consider donating to the 2026 fundraising campaign to help us keep this project going without putting anyone at risk.