Je suis Yunohost 3.2.1 sous un RPI 1 ere génération. J’ai installé et tout fonctionne, j’accède avec mon nom de domaien depuis l’extérieur sans souci. Je tente d’installer Let’s Encrypt. Mais je bloque.
Sur l’interface admin il me dit que mon système n’est pas prêt.
Du coup j’ai tenté yunohost domain --cert-install www.xxx.com --no-checks.
Mais ca ne fonctionne pas. J’ai exporté les logs et voila ce que ca donne :
args:
force: false
no_checks: true
staging: false
ended_at: 2018-09-27 20:50:53.485649
error: “Certificate installation for www.xxxxx.info failed !\nException: [Errno 22]
\ La signature du nouveau certificat a \xE9chou\xE9”
operation: letsencrypt_cert_install
related_to:
Est-ce que tu peux confirmer que tu as bien routé les ports de ta box et que https://ports.yunohost.org/ indique que ton port 80 est accessible (vert) ?
Bon et bien j’ai rééssayé en modifiant mon fichier /etc/hosts sur le RPI et en rajoutant 127.0.0.1 xxxx.com et en relancant la commande avec le nochecks et la c’est passé !
Bonjour à tous
J’ai le même problème, la même erreur, mais mon fichier /etc/hosts contient bien 127.0.0.1 avant mon nom de domaine, et ça ne résout rien.
Voici l’erreur que j’obtiens à l’installation :
root@:~# yunohost domain cert-install mon.domaine.com --no-checks --debug
532 DEBUG loading actions map namespace ‘yunohost’
716 DEBUG extra parameter classes loaded: [‘ask’, ‘password’, ‘required’, ‘pattern’]
728 DEBUG initializing base actions map parser for cli
742 DEBUG registering new callback action ‘yunohost.utils.packages.ynh_packages_version’ to [‘-v’, ‘–version’]
1698 DEBUG initialize authenticator ‘ldap-anonymous’ with: uri=‘ldap://localhost:389’, base_dn=‘dc=yunohost,dc=org’, user_rdn=‘None’
3265 DEBUG lock has been acquired
5145 DEBUG loading python module yunohost.domain took 1.878s
5146 INFO processing action [19705.1]: yunohost.domain.cert-install with args={‘no_checks’: True, ‘force’: False, ‘domain_list’: [‘smidge.noho.st’], ‘self_signed’: False, ‘auth’: <moulinette.authenticators.ldap.Authenticator object at 0xb65bff10>, ‘staging’: False}
6042 INFO Starting new HTTPS connection (1): ip.yunohost.org
6316 DEBUG “GET / HTTP/1.1” 200 14
6410 INFO Starting new HTTP connection (1): 79.143.250.108
6424 DEBUG “HEAD / HTTP/1.1” 302 0
6431 INFO Now attempting install of certificate for domain mon.domaine.com!
6437 INFO Nginx configuration file for ACME challenge already exists for domain, skipping.
6438 DEBUG Making sure tmp folders exists…
6451 INFO Starting new HTTPS connection (1): ip.yunohost.org
6710 DEBUG “GET / HTTP/1.1” 200 14
6737 INFO Starting new HTTPS connection (1): ip6.yunohost.org
6780 INFO Starting new HTTPS connection (1): ip.yunohost.org
7045 DEBUG “GET / HTTP/1.1” 200 14
7071 WARNING Debug information:
domain ip from DNS 79.143.250.108
domain ip from local DNS 127.0.0.1
public ip of the server 79.143.250.108
7073 ERROR Certificate installation for mon.domaine.com failed !
Exception: [Errno 52] Url invalide https://ip6.yunohost.org (ce site existe-t-il ?)
7074 DEBUG action [19705.1] executed in 1.926s
7076 DEBUG lock has been released