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. https://crt.sh/?q=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:www.ericdannewitz.com
I ran this command:certbot
It produced this output:
My web server is (include version):apache 2.4.41
The operating system my web server runs on is (include version):Ubuntu 18
My hosting provider, if applicable, is:
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):
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot):certbot 0.31.0
Basically, seems the default server, which is the site listed above (www.ericdannewitz.com) has too many redirects on it. All the other sites hosted on the machine have certbot working fine.
000-default.conf file is:
ServerName www.ericdannewitz.com
ServerAlias ericdannewitz.com *.ericdannewitz.com
ServerAdmin admin@ericdannewitz.com
DocumentRoot /home/site/www.ericdannewitz.com/htdocs/
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /home/site/www.ericdannewitz.com/htdocs/>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Require all granted
</Directory>
ErrorLog /var/log/apache2/ericdannewitzerror.log
CustomLog /var/log/apache2/ericdannewitzaccess.log common
AddType application/x-httpd-php .php
DirectoryIndex index.php
ErrorDocument 404 /index.php?error=404
RewriteEngine on
RewriteCond %{SERVER_NAME} =ericdannewitz.com [OR]
RewriteCond %{SERVER_NAME} =www.ericdannewitz.com [OR]
RewriteCond %{SERVER_NAME} =*.ericdannewitz.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
000-default-ssl.conf looks like:
ServerAdmin admin@ericdannewitz.com
DocumentRoot /home/site/www.ericdannewitz.com/htdocs/
ServerName www.ericdannewitz.com
ServerAlias ericdannewitz.com *.ericdannewitz.com
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /home/site/www.ericdannewitz.com/htdocs/>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Require all granted
</Directory>
ErrorLog /var/log/apache2/ericdannewitzerror.log
CustomLog /var/log/apache2/ericdannewitzaccess.log common
AddType application/x-httpd-php .php
DirectoryIndex index.php
ErrorDocument 404 /index.php?error=404
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/www.ericdannewitz.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/www.ericdannewitz.com/privkey.pem
Any ideas?