From d655ed1d9375aa2534748349070c2c784d69fc91 Mon Sep 17 00:00:00 2001 From: Randy Bush Date: Sat, 4 Nov 2023 20:15:17 -0700 Subject: [PATCH] some updates --- pages/AcmeTinyUbuntu.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pages/AcmeTinyUbuntu.md b/pages/AcmeTinyUbuntu.md index fcb7627..af97f0b 100644 --- a/pages/AcmeTinyUbuntu.md +++ b/pages/AcmeTinyUbuntu.md @@ -15,6 +15,7 @@ chmod 750 work # protect secrets chmod 700 secrets chmod 750 challenges +chgrp www-data challenges ``` challenges has to be readable by the web server, but this hack can only be done by root @@ -112,6 +113,11 @@ DocumentRoot "/home/acme/challenges" Repeat the VirtualHost for all domains for which you are getting certificates. +Enable the acme virtual host +``` +a2ensite acme +``` + Don't forget to restart the Apache server ``` @@ -184,4 +190,7 @@ acme ALL = (root) NOPASSWD: /usr/sbin/service ## Renewal -You can run the same script as above for certificate renewal. \ No newline at end of file +You can run the same script as above for certificate renewal. + +--- +2023.11.04 \ No newline at end of file