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

Posted November 18, 2020 722 views

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?


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.

Submit an Answer
1 answer


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
  2. Access to web admin, and add your new domain to both HTTP/HTTPS listeners
  3. Run the certbot command certbot certonly --webroot -w /var/www/html/ -d -d
  4. Update your new SSL certificate path for the HTTPS listener

Hope it helps.