วิธีการติดตั้ง Certbot SSL for Apache

1. Login เข้าไปที่ Server ที่จะทำการติดตั้ง ผ่าน Terminal หรือ SSH Client
    :~$ ssh [your-user]@[your-server]

2. Install Certbot
    :~$ sudo apt-get install certbot python-certbot-apache



    ถ้ามีคำถามให้พิมพ์  y แล้ว Enter
3. Run Certbot
   :~$ sudo certbot --apache

   - ใส่ Email ที่จะใช้ผูกกับ SSL
   - พิมพ์ A (Agree)  และ Enter
   - พิมพ์ y  และ Enter


   - เลือก host ที่มีอยู่ในที่นี้มีแค่ 1 จึงพิมพ์ 1 และกด Enter
   - พิมพ์ 2 และกด Enter


   ถ้าสำเร็จจะได้ SSL ตาม Path ดังรูป

  4. ทดลองเข้าเว็บ จะได้ SSL ดังรูป
 

ความคิดเห็น

โพสต์ยอดนิยมจากบล็อกนี้

Install and configure Zabbix Debian 12 and apache2

Batch file copy folder to another folder by date (ตั้งค่า copy folder เพื่อ backup โดยการ copy อัตโนมัติไปเก็บใน Folder ที่สร้างตามวันที่ปัจจุบัน)

วิธีการเช็ค Windows แท้ และดู Keys Windows 10/11