From 26e2197a6635bc3ae3828f877bae0ad126c2742a Mon Sep 17 00:00:00 2001 From: "Mehdi (OSX)" Date: Wed, 22 Nov 2023 15:24:05 +0500 Subject: [PATCH] First commit. --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ab7e786..d224b3b 100644 --- a/README.md +++ b/README.md @@ -5,11 +5,10 @@ ## Info: - It uses certbot's docker to generate LetsEncrypt SSL certificates, and it comes with simple script to generate and renew certificate for **single domain.** - It **does not support multiple domains**. But you can create certificate for test.com, abc.test.com, *.test.com (wildcard). - -- This script will **create** SSL certificates based on `${new_ssl_command}`. -- If the `${live_certs_dir}` and `${live_certs_dir}/cert.pem` exist then certificate is **renewed** based on `${renew_command}` -- Post hook is only executed: +1. This script will **create** SSL certificates based on `${new_ssl_command}`. +2. If the `${live_certs_dir}` and `${live_certs_dir}/cert.pem` exist then certificate is **renewed** based on `${renew_command}` +3. Post hook is only executed: 1. If a new ssl certificate is created. 2. If certificate is renewed (test is done by comparing ${live_certs_dir}/cert.pem modified time to last one).