From 05e55f1ca86c19994141b47c56f0684bbfae0f42 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 19 Feb 2017 18:31:16 +0100 Subject: [PATCH] [fix] Microdecision : fix instruction to migrate from manually installed LE certs --- certmanager.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/certmanager.md b/certmanager.md index 804ecaf1..99872bb3 100644 --- a/certmanager.md +++ b/certmanager.md @@ -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 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 : ```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.