I was following the tutorial How To Secure Apache with Let’s Encrypt on Ubuntu 20.04. I was issued a SSL certificate but my website was still not secure. I ran the process again but it still has not worked.
When I go to ssllabs. The SSL report for www.millerfuresh.com - overall rating is A.
I have this error
Failed redirect for millerfuresh.com Unable to set enhancement redirect for millerfuresh.com Unable to find corresponding HTTP vhost; Unable to create one as intended addresses conflict; Current configuration does not support automated redirection
Do I need to set up another vhost? for millerfuresh.com? What steps do I need to take to secure my site?
Thank you
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi, First thing first :)
@millerfuresh wroteWhen I go to ssllabs. The SSL report for www.millerfuresh.com - overall rating is A.
That is right. If you enter https://www.millerfuresh.com in your internet browser’s address bar, you will get your website through secured connection. However, it does not work for https://millerfuresh.com. The possible reason is included in error message you got from certbot:
@millerfuresh wroteUnable to find corresponding HTTP vhost; Unable to create one as intended addresses conflict;
The other issue is related to redirection from HTTP to HTTPS. Having SSL certificate installed, we want to have the connection to our server secured for all the time, even if someone send a request to our web server to port 80 using HTTP, e.g. http://www.millerfuresh.com or just millerfuresh.com. In that case user’s request should be redirected from HTTP to HTTPS (from port TCP 80 to TCP 443), and result in https://www.millerfuresh.com. Such settings are usually done in separate virtual hosts in Apache configuration. Unfortunately, there was some problem reported during configuration of redirection in your case:
@millerfuresh wroteFailed redirect for millerfuresh.com
Unable to set enhancement redirect for millerfuresh.com
Unable to find corresponding HTTP vhost; Unable to create one as intended addresses conflict; Current configuration does not support automated redirection
What I could suggest is to look for HTTP configuration for your domains and configure redirection to HTTPS manually. It looks like you may have to create HTTPS virtual host for millerfuresh.com by hand, since it seems to be not created so far.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.