mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Merge pull request #455 from YunoHost/fix-LE-migration
Fix LE migration instructions when installed manually
This commit is contained in:
commit
b394b1a3ac
2 changed files with 8 additions and 6 deletions
|
@ -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
|
||||
whatever you called the file containing the `location
|
||||
'/.well-known/acme-challenge'` block) for each of your domains. Remove your
|
||||
certificate renewer cron job in `/etc/cron.weekly/`, and backup and remove your
|
||||
`/etc/letsencrypt/` folder.
|
||||
'/.well-known/acme-challenge'` block) for each of your domains.
|
||||
|
||||
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.
|
||||
|
||||
Finally, remove your certificate renewer cron job in `/etc/cron.weekly/`, then backup and remove you `/etc/letsencrypt/` folder.
|
||||
|
||||
Troubleshooting
|
||||
---------------
|
||||
|
||||
|
|
|
@ -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
|
||||
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/`,
|
||||
et backupez puis supprimer le répertoire `/etc/letsencrypt/`.
|
||||
de vos domaines.
|
||||
|
||||
Finalement, faites :
|
||||
Tapez la commande suivante :
|
||||
|
||||
```bash
|
||||
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.
|
||||
|
||||
Finalement, supprimez la tâche automatique (certificateRenewer) dans `/etc/cron.weekly/`,
|
||||
et backupez puis supprimez le répertoire `/etc/letsencrypt/`.
|
||||
|
||||
Dépannage
|
||||
---------------
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue