Cant install 2:nd domain certificat

My YunoHost server

Hardware: Local PC
YunoHost version: 11.1.21.4
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 ? : yes - Server is configured with WG VPN (as client)

Description of my issue

Server could not do automatic renewal of ceritificat, see log (this is after a manual try) - https://paste.yunohost.org/raw/abohihahap

My main domain and all subdomains ar working fine.

ERROR - Wrote file to /var/www/.well-known/acme-challenge-public/SqpmYIBMVuHxtEVdfg85mNM7_e5b6Jv4m5nT7jyrgIc, but couldn't download http://muc.domain2.tld/.well-known/acme-challenge/SqpmYIBMVuHxtEVdfg85mNM7_e5b6Jv4m5nT7jyrgIc: Error:
Url: http://muc.domain2.tld/.well-known/acme-challenge/SqpmYIBMVuHxtEVdfg85mNM7_e5b6Jv4m5nT7jyrgIc

Ok, by disabling xmpp on this domain it works now. But I don’t understand why…?

Found this - Update of Letsencrypt Certificate failed - #2 by Aleks

Now Iv seen the same problem and solution on my “main domain”, any idea why?

Try to add all domain listed in you DNS conf to the hosts files of yours YH server.

1 Like

hmm, looks like they already where there.

::1             domain.tld
127.0.0.1       domain.tld
::1             domain2.tld
127.0.0.1       domain2.tld

edit: my it has something to do with

xmpp-upload.domain.tld

edit2: it actually works again to manually update certificates if I have turn on xmpp again, so maybe the solution was to toggle xmpp and renew certificat after each toggle(?). Ill try to follow up later.

Most important is to have

xmpp-upload.domain.tld

in hosts file if the toggle is ON I guess

Yeah, they where also there from start

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