Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: 66tr.ee
I ran this command: apache2 -S
It produced this output: [Tue Dec 28 09:28:37.699108 2021] [alias:warn] [pid 666042:tid 140680892185664] AH00671: The Alias directive in /etc/apache2/sites-enabled/100-letsencrypt.conf at line 1 will probably never match because it overlaps an earlier Alias.
AH00526: Syntax error on line 77 of /etc/apache2/sites-enabled/66tr.ee.conf:
SSLCertificateFile: file '/etc/letsencrypt/live/66tr.ee/fullchain.pem' does not exist or is empty
My web server is (include version): Apache/2.4.41
The operating system my web server runs on is (include version): Ubuntu 20.04
My hosting provider, if applicable, is: N/A
I can login to a root shell on my machine (yes or no, or I don't know): yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): certbot 1.22.0
Hello, I have been using certbot manually using DNS for over a year and really would like to automate my renewal process. I have a simple website running Apache and a XMPP service for my family running from my home.
Last night I tried to convert my setup to use my local Apache server for renewal instead of manually adding DNS records through my DNS provider.
I started by adding subdomains to Apache, then listing them in letsencrypt's renewal .conf files. I issued a
sudo certbot renew --dry-run -a webroot -i apache -w /var/www/66tr.ee
thinking this would convert my setup from the dns method to the webroot method as long as I had the webroots for each certificate created and configured in each renewal.conf file.
Well I thought I had to restart Apache to get Apache to recognize the folders I had created for each subdomain (each subdomain has it's own certificate). So I restarted Apache and haven't been able to bring it back up since.
I removed the subdomain configuration I had added to Apache to see if that would help it start. Didn't do anything.
apache2 -S
yields:
[Tue Dec 28 09:02:33.556049 2021] [alias:warn] [pid 665905:tid 140068711533632] AH00671: The Alias directive in /etc/apache2/sites-enabled/100-letsencrypt.conf at line 1 will probably never match because it overlaps an earlier Alias.
AH00526: Syntax error on line 77 of /etc/apache2/sites-enabled/66tr.ee.conf:
SSLCertificateFile: file '/etc/letsencrypt/live/66tr.ee/fullchain.pem' does not exist or is empty
I commented out the two lines it was complaining about. Now apache2 -S
shows a larger error:
[Tue Dec 28 10:51:16.558666 2021] [alias:warn] [pid 666394:tid 140108533443648] AH00671: The Alias directive in /etc/apache2/sites-enabled/100-letsencrypt.conf at line 1 will probably never match because it overlaps an earlier Alias. VirtualHost configuration: *:80 66tr.ee (/etc/apache2/sites-enabled/66tr.ee.conf:1) *:443 is a NameVirtualHost default server 66tr.ee (/etc/apache2/sites-enabled/66tr.ee.conf:58) port 443 namevhost 66tr.ee (/etc/apache2/sites-enabled/66tr.ee.conf:58) alias www.66tr.ee port 443 namevhost fungi.66tr.ee (/etc/apache2/sites-enabled/default-ssl.conf:2) ServerRoot: "/etc/apache2" Main DocumentRoot: "/var/www/html" Main ErrorLog: "/var/log/apache2/error.log" Mutex default: dir="/var/run/apache2/" mechanism=default Mutex watchdog-callback: using_defaults Mutex rewrite-map: using_defaults Mutex ssl-stapling-refresh: using_defaults Mutex ssl-stapling: using_defaults Mutex proxy: using_defaults Mutex ssl-cache: using_defaults PidFile: "/var/run/apache2/apache2.pid" Define: DUMP_VHOSTS Define: DUMP_RUN_CFG User: name="www-data" id=33 not_used Group: name="www-data" id=33 not_used
This message worries me because I haven't touched default-ssl.conf
at all during this or previous renewal attempts. Can someone offer some insight?