Gnuragist.es

Support Gnu/Linux

Outils pour utilisateurs

Outils du site


notes:certificate-renewal-fail

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
notes:certificate-renewal-fail [2021/01/17 17:30]
ptr créée
notes:certificate-renewal-fail [2021/01/20 18:26] (Version actuelle)
ptr
Ligne 1: Ligne 1:
 issuing a certificate via yunohost's webinterface, or commandline (ssh) issuing a certificate via yunohost's webinterface, or commandline (ssh)
 +
   yunohost domain cert-renew www.mydomain.be   yunohost domain cert-renew www.mydomain.be
  
Ligne 10: Ligne 11:
  
 eg. in  eg. in 
-/etc/nginx/conf.d/www.mydomain.be.d/wordpress.conf+  /etc/nginx/conf.d/www.mydomain.be.d/wordpress.conf
  
 i commented following ‘rewrite’ https settings (you can use octothorp '#' character on the beginning of the line) i commented following ‘rewrite’ https settings (you can use octothorp '#' character on the beginning of the line)
  
-# rewrite ^(.+)$ /index.php?q=$1 last; 
  
 +  #if ($scheme = http) {
 +  #rewrite ^ https://$server_name$request_uri? permanent;
 +  #}
  
 then restart nginx then restart nginx
Ligne 29: Ligne 32:
   yunohost domain cert-renew www.mydomain.be --no-check   yunohost domain cert-renew www.mydomain.be --no-check
  
-( or 'yunohost domain cert-install mydomain.be --no-checks' if there was a selfsigned cert and you want to get an letsencrypt issued one)+( or 'yunohost domain **cert-install** mydomain.be --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... after this, reset the changes in the nginx configuration & reload nginx...
- 
- 
- 
  
 mais tuto bene a la fin  mais tuto bene a la fin 
Ligne 41: Ligne 41:
  
 test with curl (on laptop) test with curl (on laptop)
 +
 +<code>
  
 ptr@eternit:~$ curl http://www.mydomain.be ptr@eternit:~$ curl http://www.mydomain.be
Ligne 54: Ligne 56:
 <!doctype html> <!doctype html>
 ... ...
 +</code>
notes/certificate-renewal-fail.1610901041.txt.gz · Dernière modification: 2021/01/17 17:30 de ptr