Report this

What is the reason for this report?

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

Posted on November 18, 2020

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?

Thanks!



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!

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.

Hi,

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. https://docs.litespeedtech.com/cloud/images/wordpress/#step-2-add-domain-to-listener

  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 example.com -d www.example.com
  1. Update your new SSL certificate path for the HTTPS listener

Hope it helps.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.