Support Gnu/Linux

Outils pour utilisateurs

Outils du site


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


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

#if ($scheme = http) {
#rewrite ^ https://$server_name$request_uri? permanent;

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
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>

ptr@eternit:~$ curl
<!doctype html>
notes/certificate-renewal-fail.txt · Dernière modification : 2021/01/20 18:26 de ptr