Hi,
I want to submit my configuration for validate more domain under one server without stop apache2 service during the validation/renew procedure.
in the apache2 configuration file /etc/apache2/apache2.conf I added this line: AliasMatch ^/.well-known/acme-challenge/(.*)$ /var/www/html/.well-known/acme-challenge/$1
this configuration will be redirect all the letsencrypt’s acme request in the default webroot.
To submit the validation you have to run: letsencrypt certonly --webroot -w /var/www/html/ -d example.com -d example.net -d example.org --renew-by-default
you can create a bash script in /etc/cron.monthly/ directory to automatic renew. Seems apache2 needs a restart to reload the new ssl certificate but the downtime is really short.
This configuration is for-domain configuration right? But using apache2.conf you don't need to change all the domain's configuration but only one file.
This configuration is for-domain configuration right? But using apache2.conf you don't need to change all the domain's configuration but only one file.
No, I put this into apache2.conf (or being more specific I have a conf-enabled/le.conf) and, thus, it works for all virtual domains.