Support Gnu/Linux

Outils pour utilisateurs

Outils du site


**Ceci est une ancienne révision du document !**

issuing a certificate via yunohost's webinterface, or commandline (ssh)

yunohost domain cert-renew

gives this error

Error: Domain does not seem to be accessible through HTTP. Please check the 'Web' category in the diagnosis for more info. (If you know what you are doing, use '–no-checks' to turn off those checks.)

issue is i think the nginx redirection settings of custom webapp apps (http: requests get forwarded to https: )

eg. in /etc/nginx/conf.d/

i commented following ‘rewrite’ https settings (you can use octothorp '#' character on the beginning of the line)

rewrite ^(.+)$ /index.php?q=$1 last;

then restart nginx

systemctl reload nginx

and have a quick test (from another computer)

200 ok
yunohost domain cert-renew --no-check

( or 'yunohost domain cert-install –no-checks' if there was a selfsigned cert and you want to get an letsencrypt issued one)

after this, reset the changes in the nginx configuration & reload nginx…

mais tuto bene a la fin toutlemonde content :

test with curl (on laptop)

ptr@eternit:~$ curl <html> <head><title>301 Moved Permanently</title></head> <body bgcolor=“white”



center><h1>301 Moved Permanently</h1></center> <hr><center>nginx</center> </body> </html>

ptr@eternit:~$ curl <!doctype html> …

notes/certificate-renewal-fail.1610901041.txt.gz · Dernière modification : 2021/01/17 17:30 de ptr