From 73c48b9fa480dc34b44970907bff23797e19bd88 Mon Sep 17 00:00:00 2001 From: ctmbl Date: Sat, 27 Apr 2024 01:24:38 +0200 Subject: [PATCH] Improve renew certificates instructions --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8db6be8..cb28ad2 100644 --- a/README.md +++ b/README.md @@ -70,10 +70,21 @@ The certificates should have been generated in `certbot/conf/live/yourdomainname #### Renew SSL certification -If you just want to renew existing certificates, use: +If you just want to renew existing certificates you should use the designed script: +```bash +./scripts/renewssl.sh +``` +> Note that this script uses hardcoded absolute path designed for the iScsc VPS +If you want to here are the detailed steps: ```bash +# List existing certificates +docker compose run certbot certificates +# Renew certificates docker compose run --rm certbot renew +# Restart blog +docker compose stop blog +docker compose up --detach blog ``` #### Deploy the website itself