First commit.

This commit is contained in:
Mehdi (OSX) 2023-11-22 15:24:05 +05:00
parent c0cff94895
commit 26e2197a66

View File

@ -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).