Hardware: Cubietruck Internet access: ethernet at home YunoHost version:
yunohost: 2.7.12 (stable)
yunohost-admin: 2.7.12 (stable)
moulinette: 2.7.12 (stable)
ssowat: 2.7.12 (stable) Have you personalized your yunohost with some specifics configurations or do you use only the yunohost cli/webadmin tool ? basic
Description of my problem
Try to install a certificate for a second domain with command line:
yunohost domain cert-install your.domain.tld --no-checks --debug
440 DEBUG loading actions map namespace âyunohostâ
553 DEBUG extra parameter classes loaded: [âaskâ, âpasswordâ, ârequiredâ, âpatternâ]
555 DEBUG initializing base actions map parser for cli
562 DEBUG registering new callback action âyunohost.utils.packages.ynh_packages_versionâ to [â-vâ, ââversionâ]
1133 DEBUG initialize authenticator âldap-anonymousâ with: uri=âldap://localhost:389â, base_dn=âdc=yunohost,dc=orgâ, user_rdn=âNoneâ
1144 DEBUG lock has been acquired
1409 DEBUG loading python module yunohost.domain took 0.263s
1410 INFO processing action [9953.1]: yunohost.domain.cert-install with args={âno_checksâ: True, âforceâ: False, âdomain_listâ: [âyour.domain.tldâ], âself_signedâ: False, âauthâ: <moulinette.authenticators.ldap.Authenticator object at 0xb66278f0>, âstagingâ: False}
7953 INFO Starting new HTTP connection (1): ip_address
7962 DEBUG Couldnât reach domain âyour.domain.tldâ by requesting this ip âip_addressâ because: (âConnection aborted.â, BadStatusLine("ââ",))
7964 INFO Now attempting install of certificate for domain your.domain.tld!
7968 INFO Nginx configuration file for ACME challenge already exists for domain, skipping.
7969 DEBUG Making sure tmp folders existsâŠ
8166 INFO Prepare key and certificate signing request (CSR) for your.domain.tldâŠ
37264 INFO Saving to /tmp/acme-challenge-private/your.domain.tld.csr.
37266 INFO Now using ACME Tiny to sign the certificateâŠ
37268 INFO Parsing account keyâŠ
37382 INFO Parsing CSRâŠ
37444 INFO Registering accountâŠ
39180 INFO Already registered!
39182 INFO Verifying your.domain.tldâŠ
40521 ERROR ââ
40725 WARNING Debug information:
Weeeeell as it says, error 22 is that the signature of the new certificate failed
The real question is to understand whatâs the true error behind that
and the logs says :
ERROR ââ
which isnt really helpful ⊠Soooo I dunno what to do about this Somebody had a similar situation a few days ago and it just resolved by itself after a few days ⊠I donât understand whatâs behind that
Well, are you able to access your server via http://yourdomain.tld both from inside your local network and from outside ? You can also use https://ports.yunohost.org/ to diagnose if port 80 looks open
(âConnection aborted.â, BadStatusLine("ââ",) really looks like a weird error. I see an issue here talking about something similar https://github.com/requests/requests/issues/2364 and it really looks like low-level network stuff⊠Do you have anything particular in your network setup somehow ?
hey so, the install lets encrypt is greyed out on the side⊠so i tried the command but i only get this error [replaced my real domain with âmydomain.comâ to post here but i promise its the right one.]
root@games:~# yunohost domain cert-renew mydomain.com --no-checks --debug
110 DEBUG loading actions map namespace âyunohostâ
125 DEBUG extra parameter classes loaded: [âcommentâ, âaskâ, âpasswordâ, ârequiredâ, âpatternâ]
125 DEBUG initializing base actions map parser for cli
126 DEBUG registering new callback action âyunohost.utils.packages.ynh_packages_versionâ to [â-vâ, ââversionâ]
Traceback (most recent call last):
File â/usr/bin/yunohostâ, line 213, in
timeout=opts.timeout,
File â/usr/lib/python2.7/dist-packages/moulinette/init.pyâ, line 133, in cli
âparser_kwargsâ: parser_kwargs,
File â/usr/lib/python2.7/dist-packages/moulinette/core.pyâ, line 368, in init_interface
return interface(amap, **kwargs)
File â/usr/lib/python2.7/dist-packages/moulinette/interfaces/cli.pyâ, line 387, in init
m18n.set_locale(get_locale())
File â/usr/lib/python2.7/dist-packages/moulinette/interfaces/cli.pyâ, line 171, in get_locale
lang = locale.getdefaultlocale()[0]
File â/usr/lib/python2.7/locale.pyâ, line 545, in getdefaultlocale
return _parse_localename(localename)
File â/usr/lib/python2.7/locale.pyâ, line 477, in _parse_localename
raise ValueError, âunknown locale: %sâ % localename
ValueError: unknown locale: UTF-8