mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
[fix] Microdecision : fix instruction to migrate from manually installed LE certs
This commit is contained in:
parent
58c9c375f6
commit
05e55f1ca8
1 changed files with 9 additions and 2 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue