Thêm Let's Encrypt

18/06/2020 04:46 (5 năm trước) | Tin tức

Bạn vào Quản lý Let's Encrypt > Thêm Let's Encrypt
Yêu cầu bắt buộc:
Domain đã trỏ IP về VPS.

--//---------------------------------------------------------------------
2. Quan ly Let's Encrypt > Them SSL - Let's Encrypt
-------------------------------------------------------------------------
Huong dan: https://larvps.com/pages/documentation/all#item-6-10
/-----------------------------------------------------------------------/

1) thumbnail.site

-//- Nhap lua chon cua ban [0=Thoat]: 1
Creating virtual environment...
Installing Python packages...
Installation succeeded.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Enter email address (used for urgent renewal and security notices)
 (Enter 'c' to cancel): emailcuaban@gmail.com

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please read the Terms of Service at
https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must
agree in order to register with the ACME server at
https://acme-v02.api.letsencrypt.org/directory
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(A)gree/(C)ancel: A

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Would you be willing, once your first certificate is successfully issued, to
share your email address with the Electronic Frontier Foundation, a founding
partner of the Let's Encrypt project and the non-profit organization that
develops Certbot? We'd like to send you email about our work encrypting the web,
EFF news, campaigns, and ways to support digital freedom.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: Y

Which names would you like to activate HTTPS for?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: thumbnail.site
2: www.thumbnail.site
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1,2
Obtaining a new certificate


Chọn domain bạn muốn kích hoạt https. Ví dụ ở đây mình chọn là 1 cho diachibank.com

Bước tiếp theo sẽ hiện danh sách các domain trên VPS, bạn lưu ý cột ngoài cùng (1,2,3,4).
Ở đây mình sẽ nhập 1,2 ( dấu phẩy) cho thumbnail.site và www.thumbnail.site sau đó enter để bắt đầu kích hoạt https.

Kết quả: https://www.thumbnail.site sẽ tự redirect sang https://thumbnail.site. Tất cả domain http sẽ chuyển sang https. Nếu bạn dùng WP thì nên cài thêm plugin Really Simple SSL.

Cộng đồng LarVPS

LarVPS có cộng đồng hỗ trợ, bạn có thể trao đổi những vấn đề gặp phải trong quá trình sử dụng LarVPS.