From 260178f624aacb194cd4618e32e61d670cc0edf5 Mon Sep 17 00:00:00 2001 From: Linden Crandall Date: Tue, 11 Feb 2025 15:59:09 +0000 Subject: [PATCH] Update Production HTTPS Setup --- Production-HTTPS-Setup.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Production-HTTPS-Setup.md b/Production-HTTPS-Setup.md index 7b66a61..0b0b905 100644 --- a/Production-HTTPS-Setup.md +++ b/Production-HTTPS-Setup.md @@ -97,12 +97,13 @@ certbot-1 | Key is saved at: /etc/letsencrypt/live/automatisch.lasthou certbot-1 | This certificate expires on 2025-05-09. certbot-1 | These files will be updated when the certificate renews. ``` +- After this completes, stop the containers `ctrl+c` - There should be a new /certbot folder created at the project root, and the cert and key `.pem` files should be created at `/etc/letsencrypt/live` -- Need to give `lasthour` user and group access to the .pem keys: +- Give `lasthour` user and group access to the `/certbot` folder: ``` sudo chown -R lasthour:lasthour certbot ``` -- After this completes, stop the containers `ctrl+c` and overwrite the `automatisch_letsencrypt_nginx.conf` file with the `secondary_automatisch_letsencrypt_nginx.conf` file's contents which has the 443 https and SSL configs: +- Overwrite the `automatisch_letsencrypt_nginx.conf` file with the `secondary_automatisch_letsencrypt_nginx.conf` file's contents which has the 443 https and SSL configs: ``` cp https/nginx/secondary_automatisch_letsencrypt_nginx.conf https/nginx/automatisch_letsencrypt_nginx.conf ```