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: discounthockeyequipment.com (Main Site) hockeytapesource.com, thehockeydoctor.ca, hockeyskaterunners.com, hockeytapewarehouse.com, ringettewarehouse.com, hockeyrunners.com (subsites)
I ran this command: certbot -d discountedhockeyequipment.com -d hockeytapesource.com -d hockeyskaterunners.com -d hockeytapewarehouse.com -d thehockeydoctor.ca -d ringettewarehouse.com -d hockeyrunners.com
It produced this output:
#############
You have an existing certificate that has exactly the same domains or certificate name you requested and isn't close to expiry.
(ref: /etc/letsencrypt/renewal/discountedhockeyequipment.com-0002.conf)
What would you like to do?
1: Attempt to reinstall this existing certificate
2: Renew & replace the cert (limit ~5 per 7 days)
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Renewing an existing certificate
Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/000-default-le-ssl.conf
Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/000-default-le-ssl.conf
Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/000-default-le-ssl.conf
Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/000-default-le-ssl.conf
Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/000-default-le-ssl.conf
Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/000-default-le-ssl.conf
Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/000-default-le-ssl.conf
Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.
1: No redirect - Make no further changes to the webserver configuration.
2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for
new sites, or if you're confident your site works on HTTPS. You can undo this
change by editing your web server's configuration.
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Failed redirect for discountedhockeyequipment.com
Unable to set enhancement redirect for discountedhockeyequipment.com
Unable to find corresponding HTTP vhost; Unable to create one as intended addresses conflict; Current configuration does not support automated redirection
IMPORTANT NOTES:
- We were unable to set up enhancement redirect for your server,
however, we successfully installed your certificate. - Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/discountedhockeyequipment.com-0002/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/discountedhockeyequipment.com-0002/privkey.pem
Your cert will expire on 2022-04-04. To obtain a new or tweaked
version of this certificate in the future, simply run certbot again
with the "certonly" option. To non-interactively renew all of
your certificates, run "certbot renew"
root@wordpress-ubuntu-s-1vcpu-1gb-tor1-01:~#
##############################
My web server is (include version): apache
The operating system my web server runs on is (include version): ubuntu
My hosting provider, if applicable, is: digital ocean
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 0.40.0
I was able to install certificates on all domains. They work well, except, in the case where someone just types in the URL (ie: thehockeydoctor.ca) or doesn't use https:// ... When that happens, it redirects to discountedhockeyequipment.com (the main site).... There seems to be a 301 redirect somewhere... But I can't figure out where...
During the certbot install, I've tried choosing both redirect sn No redirect... when I choose redirect I get the following error
Failed redirect for discountedhockeyequipment.com
Unable to set enhancement redirect for discountedhockeyequipment.com
I feel like this might be a simple thing, but I can't for the life of me figure out where the redirect is coming from... I don't see anything in the Htaccess file...