Cài Đặt SSL Trên Share IP Directadmin

Last modified by Admin on 2023/12/27 09:19

1. SSH vào server chạy lệnh :

nano /usr/local/directadmin/conf/directadmin.conf

2. thêm vào giá trị :

enable_ssl_sni=1

3. Restart directadmin và apache :

service directadmin restart
service httpd restart

4. Đăng nhập vào direct admin vào phần SSL Certificates

image2021-11-26_16-41-7.png

5. SSL is currently disabled for this domain. You can enable it here

image2021-11-26_16-42-5.png

6. Tích vào ô Secure SSL và Use a symbolic link from private_html to public_html - allows for same
data in http and https rồi SAVE.

image2021-11-26_16-42-29.png

7. Tích chọn : Paste a pre-generated certificate and key rồi nhập certificate và key, sau đó lưu lại.
8. Chọn Click Here to paste a CA Root Certificat, tic vào ô Use a CA Cert copy Ca rồi SAVE.

Quá trình cài đặt đã xong, bạn có thể truy cập lại website kiểm tra. Chúc các bạn thành công.