Hello everyone,
Please I need help to resolve the letsencrypt installation error on my website.
My domain is: webhostville.com
I ran this command: sudo certbot --expand -d webhostville.com -d www.webhostville.com -d demo.webhostville.com -d live.webhostville.com
It produced this output:
"failed redirect for webhostville.com
unable to set enhancement redirect for webhostville.com
unable to find the corresponding http vhost, unable to create one as intended address conflicts, current configuration does not support automated redirection.
IMPORTANT NOTE
We were unable to set up enhancement redirect for your server
However, we successfully install your certificate.
....
"
My web server is (include version): Apache 2
The operating system my web server runs on is (include version):Ubuntu 18.04
My hosting provider, if applicable, is: Google Cloud
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): EC2
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
I have installed letsencrypt initially with the following code:
sudo certbot --apache -d webhostville.com -d www.webhostville.com -d demo.webhostville.com -d www.demo.webhostville.com -d live.webhostville.com -d www.live.webhostville.com
I think there was an error in this code, though it installed the certificate, I decided to re-installed using the --expand option after reading the faq.
There is an error flag on the url for https://www.webhostville and https://webhostville.com that is not secure and those of the subdomains too.
I will appreciate help to resolve this.
Thank you.