My domain is: a-gict.com
I ran this command: sudo certbot --apache
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Which names would you like to activate HTTPS for?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: a-gict.com
2: www.a-gict.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel):
Cert not yet due for renewal
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/a-gict.com.conf)
What would you like to do?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: Attempt to reinstall this existing certificate
2: Renew & replace the certificate (may be subject to CA rate limits)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Renewing an existing certificate for a-gict.com and www.a-gict.com
Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/a-gict-le-ssl.conf
Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/a-gict-le-ssl.conf
Failed redirect for a-gict.com
Unable to set enhancement redirect for a-gict.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/a-gict.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/a-gict.com/privkey.pem
Your certificate will expire on 2022-01-24. 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"
angelo@a-gict2:/var/www/a-gict$ sudo systemctl status certbot.timer
● certbot.timer - Run certbot twice daily
Loaded: loaded (/lib/systemd/system/certbot.timer; enabled; vendor preset: enabled)
Active: active (waiting) since Tue 2021-10-26 05:55:31 UTC; 34min ago
Trigger: Tue 2021-10-26 20:03:34 UTC; 13h left
Triggers: ● certbot.service
My web server is (include version): Ubuntu 21.
The operating system my web server runs on is (include version): Ubuntu 21.
My hosting provider, if applicable, is: DigitalOcean
I can login to a root shell on my machine (yes or no, or I don't know): yes, I also have a user with sudo privilege.
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.12.0
Something odd happened cuz on my first pass of the sudo certbot --apachecert
command, it only showed the www.a-gict.com
option and I didn't notice this and went on with the certification anyway. After realizing this, I edited and updated the virtual domain file and ran the command again and saw both a-gict.com
and www.a-gict.com
I tried both Reinstalling the Certificate and Renew and Replacing the certificates but I still got the redirect error.
I'm not sure how to proceed here. I can see that www.a-gict.com
has been secured, but a-gict.com
still has a "not secure" tag beside the url when I visit.
I feel like I'm overlooking something simple but I can't find it. Any help is very much appreciated.