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