Tag: ssl

Enable multiple SSL vhosts on a single IP with Apache

การเปิดใช้งาน https ที่รองรับ SSL certificate หลายใบบน port 443 ของ Apache เมื่อหลายปีก่อนดูเหมือนจะเป็นเรื่องยุ่งยาก แต่การมาของ SNI หรือ Server Name Indication ทำให้ชีวิตง่ายขึ้นเยอะมาก เพราะ SNI สามารถอนุญาตให้เรา config virtual host ให้สามารถมี SSL certificate ไม่ซ้ำกันได้บน 1 IP…

Setup a transparent proxy over ssl https with Squid

การนำ Squid มาทำ transparent proxy ส่วนใหญ่จะใน website ต่างๆจะบอกแต่วิธีทำ transparent สำหรับ http (port 80) อย่างเดียว ซึ่งจริงๆแล้ว squid สามารถทำ transparent สำหรับ https (port 443) ได้เช่นกัน แต่ถ้าเราจัดการให้ iptables ทำการ forward https traffic ไปยัง…