www alias throwing ssl error --ubuntu server 1 click WP

Hi I have setup a ubuntu 1-click WP server, and while setting up Lets Encrypt I only set it up for and not for alias and is redirected to Now for some user when they open 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?


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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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:

  1. sudo certbot delete –cert-name

To obtain a new SSL:

  1. sudo certbot --apache -d your_domain -d www.your_domain

You can also check this article:

Regards, Alex