3 – Manually Extending SSL to WWW

Phiên bản yêu cầu:1.7.3
Đường dẫn:
Mục lục

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
Cấp quyền:
Nếu cảm thấy bài viết hữu ích, để lại 1 đánh giá nhé!
Không thích 0