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
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.
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:
To obtain a new SSL:
You can also check this article:
https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-18-04
Regards, Alex