3 - Manually Extending SSL to WWW

Usually CyberPanel will automatically issue Let’s encrypt SSL cert for both www and non-www version of domains, but if in rare case it failed to issue WWW cert , you can extend the SSL for www domain manually.

1. Run command (change example.com to your domain for ALL steps)

certbot certonly --webroot -w /home/example.com/public\_html -d example.com -d www.example.com

and enter E during operation

2. Now new cert is issued successfully, we need to replace them with existing ones.

ls -ln /etc/letsencrypt/live/example.com

and finally restart LiteSpeed Web Server.

systemctl restart lsws