By Sunny9616
Hi I have setup a ubuntu 1-click WP server, and while setting up Lets Encrypt I only set it up for domain.com and not for www.domain.com alias and www.domain.com is redirected to https://domain.com. Now for some user when they open https://www.domain.com it shows them invalid ssl cert error. Can I still setup Lets encrypt for www ? or i will need to remove the non ssl first? and if so how can it be removed?
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!
Hello, @Sunny9616
You can revoke/delete the current SSL Certificate and then issue another one but include the www version as well.
To revoke the SSL:
- sudo certbot delete –cert-name example.com
To obtain a new SSL:
- sudo certbot --apache -d your_domain -d www.your_domain
You can also check this article:
Regards, Alex
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.