Merge pull request #455 from YunoHost/fix-LE-migration

Fix LE migration instructions when installed manually
This commit is contained in:
Laurent Peuch 2017-02-03 15:24:33 +01:00 committed by GitHub
commit b394b1a3ac
2 changed files with 8 additions and 6 deletions

View file

@ -62,9 +62,7 @@ certificate on all your domains which have a self-signed certificate.
You should go in your nginx configuration, and remove the `letsencrypt.conf` (or You should go in your nginx configuration, and remove the `letsencrypt.conf` (or
whatever you called the file containing the `location whatever you called the file containing the `location
'/.well-known/acme-challenge'` block) for each of your domains. Remove your '/.well-known/acme-challenge'` block) for each of your domains.
certificate renewer cron job in `/etc/cron.weekly/`, and backup and remove your
`/etc/letsencrypt/` folder.
Then run : Then run :
@ -74,6 +72,8 @@ yunohost domain cert-install your.domain.tld --force
for each of your domains you want a Let's Encrypt certificate. for each of your domains you want a Let's Encrypt certificate.
Finally, remove your certificate renewer cron job in `/etc/cron.weekly/`, then backup and remove you `/etc/letsencrypt/` folder.
Troubleshooting Troubleshooting
--------------- ---------------

View file

@ -63,10 +63,9 @@ Let's Encrypt sur chacun de vos domaines ayant un certificat auto-signé.
Il vous faut aller dans la configuration nginx et retirer les fichiers `letsencrypt.conf` (ou le nom que Il vous faut aller dans la configuration nginx et retirer les fichiers `letsencrypt.conf` (ou le nom que
vous lui avez donné et qui contient un bloc `location '/.well-known/acme-challenge'`) pour chacun vous lui avez donné et qui contient un bloc `location '/.well-known/acme-challenge'`) pour chacun
de vos domaines. Supprimez aussi la tâche automatique (certificateRenewer) dans `/etc/cron.weekly/`, de vos domaines.
et backupez puis supprimer le répertoire `/etc/letsencrypt/`.
Finalement, faites : Tapez la commande suivante :
```bash ```bash
yunohost domain cert-install your.domain.tld --force yunohost domain cert-install your.domain.tld --force
@ -74,6 +73,9 @@ yunohost domain cert-install your.domain.tld --force
pour chacun des domaines pour lesquels vous souhaitez avoir un certificat Let's Encrypt. pour chacun des domaines pour lesquels vous souhaitez avoir un certificat Let's Encrypt.
Finalement, supprimez la tâche automatique (certificateRenewer) dans `/etc/cron.weekly/`,
et backupez puis supprimez le répertoire `/etc/letsencrypt/`.
Dépannage Dépannage
--------------- ---------------