Cert-install lags on Registering accountu

My YunoHost server

**Hardware: computer
**YunoHost version:
yunohost:
repo: stable
version: 4.3.6.3
yunohost-admin:
repo: testing
version: 4.3.4.1
moulinette:
repo: stable
version: 4.3.3.1
ssowat:
repo: stable
version: 4.3.3.1

I have access to my server : Through SSH | 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

Hi all!

First of all - amazing project. For a novice like myself this has been a great introduction to self-hosting.

Let’s encrypt failed to auto renew a couple of weeks back. The server was up and well for 6 months. I tried to reinstall the certificate using both webadmin and CLI but the procedure seems to hang at “Registering account…”

yunohost domain cert-install my.domain

Warning: 'yunohost domain cert-install' is deprecated and will be removed in the future
Warning: 'yunohost domain cert-install' is deprecated and will be removed in the future
Info: Now attempting install of certificate for domain my.domain!
Warning: Subdomain 'xmpp-upload.my.domain' does not resolve to the same IP address as 'my.domain'. Some features will not be available until you fix this and regenerate the certificate.
Info: Parsing account key...
Info: Parsing CSR...
Info: Found domains: my.domain
Info: Getting directory...
Info: Directory found!
Info: Registering account...


/var/log/yunohost/categories/operation# cat 20220527-185927-letsencrypt_cert_install-mydomain.log

2022-05-27 20:59:27,685: DEBUG - Making sure tmp folders exists...
2022-05-27 20:59:27,692: DEBUG - Fetching IP from https://ip.yunohost.org 
2022-05-27 20:59:27,945: DEBUG - IP fetched: my ip
2022-05-27 20:59:27,955: DEBUG - Fetching IP from https://ip6.yunohost.org 
2022-05-27 20:59:57,989: DEBUG - Could not get public IPv6 : Failed to connect to https://ip6.yunohost.org ... maybe the service is down, or you are not properly connected to the Internet in IPv4/IPv6.
2022-05-27 20:59:57,990: DEBUG - IP fetched: None
2022-05-27 20:59:57,992: DEBUG - Prepare key and certificate signing request (CSR) for my.domain...
2022-05-27 20:59:58,130: WARNING - Subdomain 'xmpp-upload.my.domain' does not resolve to the same IP address as 'my.domain'. Some features will not be available until you fix this and regenerate the certificate.
2022-05-27 20:59:58,135: DEBUG - Saving to /tmp/acme-challenge-private/my.domain.csr.
2022-05-27 20:59:58,135: DEBUG - Now using ACME Tiny to sign the certificate...
2022-05-27 20:59:58,135: INFO - Parsing account key...
2022-05-27 20:59:58,141: INFO - Parsing CSR...
2022-05-27 20:59:58,148: INFO - Found domains: my.domain
2022-05-27 20:59:58,148: INFO - Getting directory...
2022-05-27 21:02:08,656: INFO - Directory found!
2022-05-27 21:02:08,656: INFO - Registering account...

any help would be amazing

Add this line to the hosts file of your server
127.0.0.1 yourdomain.com

and also
127.0.0.1 xmpp-upload.yourdomain.com

There was already an 127.0.0.1 my.domain in the /etc/hosts file. I have added the 127.0.0.1 xmpp-upload.my.domain.
The problem remains…

There is something wrong with your configuration.
What does the diagnosis say ?

This is the output warning from diagnosys tool

Some DNS records are missing or incorrect for domain mysubdomain.duckdns.org (category extra)

    Please check the documentation at https://yunohost.org/dns_config if you need help about configuring DNS records.
    According to the recommended DNS configuration, you should add a DNS record with the following info.
    Type: CAA
    Name: mysubdomain
    Value: 128 issue "letsencrypt.org"

I see that i should configure the DNS record, but I dont see this option with duckdns.org

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