How to redirect http to https whit Certbot

Hi I have a Wordpress multisite whit one click installation Whe I try to run Certbot I get this error in one of the sites

“Unable to find corresponding HTTP vhost; Unable to create one as intended addresses conflict; Current configuration does not support automated redirection” I don’t know what more info I can bring to get help.

What can I do? Greetings

Submit an answer
Answer a question...

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Site Moderator
Site Moderator badge
April 6, 2022

Hi @FloatingLapisFish,

It’s possible Certbot can’t fully automate the configuration with OpenLiteSpeed. What I can suggest is to check the following Article Openlitespeed and Certbot

Alternatively, what you can do is configure your configs manually yourself. Your Cert files should be located in:

  • Private Key File: /etc/letsencrypt/live/YOUR_DOMAIN/privkey.pem
  • Certificate File: /etc/letsencrypt/live/YOUR_DOMAIN/fullchain.pem

Once you have the path you can add it to your configuration block for port 443.