What command to initialize certbot configuration for litespeed wordpress one click installation

Hey I have an existing litespeed wordpress installation and want to change the certificate bc my domain is going to change. So I need a new certificate.

Can someone please tell me which script / command gets executed for a fresh wordpress installation where the command promp asks for the domain name? I try to avoid manual configuration and hope that this script will do the work for me.

I tried with certbot but it doesn’t know how to configure my installation: Certbot doesn't know how to automatically configure the web server on this system. However, it can still get a certificate for you. Please run "certbot certonly" to do so. You'll need to manually configure your web server to use the resulting certificate.

The first-run-script asking for all the information will do everything right?


Submit an answer

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.


That script is for the first time setup only. If you only want to change the domain, please follow the doc to do it manually.

  1. Allow web admin port 7080
ufw allow 7080
  1. Access to web admin, and add your new domain to both HTTP/HTTPS listeners
  2. Run the certbot command
certbot certonly --webroot -w /var/www/html/ -d -d
  1. Update your new SSL certificate path for the HTTPS listener

Hope it helps.