Hi everyone,
So, here are some more details about my settings :
-Yunohost installed on a ROCK64
-My domain name is redirected to the public IP of my OpenVPN server
-Yunohost is connected to this VPN server (10.8.0.1) and received a static IP adress (10.8.0.2).
-The OpenVPN server iptables firewall is set to forward ports 80 and 443 to the Yunohost 10.8.0.2
-It worked like a charm with the previous machine (and still works if I connect it to the openVPN) > So I would says doesn’t comes from the DNS or the OpenVPN settings (but of course, I could be wrong)
The problem :
Yunohost has been freshly installed on a ARMbian Strech, on this ROCK64.
I can reach the web interface of the Yunohost when I write its local IP adress if the adress bar of firefox.
I cannot reach it with the domain name when the yunohost is connected to the OpenVPN server : I have a security message (see below)
I cannot reach it with the domain name if I modify /etc/hosts of my personnal computer like 192.168.1.103 (local IP of the Yunohost) domain.name.ltd
Firefox displays a security message, and I just don’t have the option for an exception or what so ever :
Connexion bloquée : problème de sécurité potentiel
Firefox a détecté une menace potentielle de sécurité et a interrompu le chargement de my.domain.fr, car ce site web nécessite une connexion sécurisée.
Que pouvez-vous faire ?
my.domain.fr a recours à une stratégie de sécurité HTTP Strict Transport Security (HSTS), une connexion sécurisée est obligatoire pour y accéder. Vous ne pouvez pas ajouter d’exception pour visiter ce site.
Le problème vient probablement du site web, donc vous ne pouvez pas y remédier.
Si vous naviguez sur un réseau d’entreprise ou si vous utilisez un antivirus, vous pouvez contacter les équipes d’assistance pour obtenir de l’aide. Vous pouvez également signaler le problème aux personnes qui administrent le site web
Quelqu’un pourrait être en train d’essayer d’usurper l’identité du site. Vous ne devriez pas poursuivre.
Les sites web justifient leur identité par des certificats. Firefox ne fait pas confiance à my.domain.fr, car l’émetteur de son certificat est inconnu, le certificat est auto-signé ou le serveur n’envoie pas les certificats intermédiaires corrects.
Code d’erreur : SEC_ERROR_UNKNOWN_ISSUER
And finally, in the web administration page of the Yunohost, I cannot issue the certificate :
Ce domaine ne semble pas prêt pour installer un certificat Let’s Encrypt. Veuillez vérifier votre configuration DNS et l’accessibilité HTTP de votre serveur.
Withe the command line :
root@box:~# yunohost domain cert-install my.domain.fr
Info: Now attempting install of certificate for domain my.domain.fr!
Traceback (most recent call last):
File "/usr/bin/yunohost", line 214, in <module>
timeout=opts.timeout,
File "/usr/lib/python2.7/dist-packages/moulinette/__init__.py", line 136, in cli
moulinette.run(args, output_as=output_as, password=password, timeout=timeout)
File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/cli.py", line 425, in run
ret = self.actionsmap.process(args, timeout=timeout)
File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 523, in process
return func(**arguments)
File "/usr/lib/moulinette/yunohost/domain.py", line 237, in domain_cert_install
return yunohost.certificate.certificate_install(domain_list, force, no_checks, self_signed, staging)
File "/usr/lib/moulinette/yunohost/certificate.py", line 145, in certificate_install
domain_list, force, no_checks, staging)
File "/usr/lib/moulinette/yunohost/certificate.py", line 297, in _certificate_install_letsencrypt
_display_debug_information(domain)
File "/usr/lib/moulinette/yunohost/certificate.py", line 884, in _display_debug_information
local_dns_ip = _get_local_dns_ip(domain)
File "/usr/lib/moulinette/yunohost/certificate.py", line 873, in _get_local_dns_ip
answers = resolver.query(domain, "A")
File "/usr/lib/python2.7/dist-packages/dns/resolver.py", line 949, in query
timeout = self._compute_timeout(start)
File "/usr/lib/python2.7/dist-packages/dns/resolver.py", line 858, in _compute_timeout
raise Timeout(timeout=duration)
dns.exception.Timeout: The DNS operation timed out after 30.0024559498 seconds
Thanks very much in advance for your kind help 