[fix] Microdecision : fix instruction to migrate from manually installed LE certs

This commit is contained in:
Alexandre Aubin 2017-02-19 18:31:16 +01:00 committed by GitHub
parent 58c9c375f6
commit 05e55f1ca8

View file

@ -60,12 +60,19 @@ 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. '/.well-known/acme-challenge'` block) for each of your domains. Also remove the symlink
to your current certificates :
```bash
rm /etc/yunohost/certs/your.domain.tld/key.pem
rm /etc/yunohost/certs/your.domain.tld/crt.pem
```
Then run : Then run :
```bash ```bash
yunohost domain cert-install your.domain.tld --force yunohost domain cert-install your.domain.tld --force --self-signed
yunohost domain cert-install your.domain.tld
``` ```
for each of your domains you want a Let's Encrypt certificate. for each of your domains you want a Let's Encrypt certificate.