อาการ
เว็บในแบบ HTTPS พบว่าเครื่องหมายแม่กุญแจในเว็บเพจหายไป (แทนที่ควรจะอยู่ตลอด)

วิธี

  1. ใช้เบราเซอร์ FireFox v28 เปิดเว็บไปที่ https://www.blognone.com/ จะสังเกตว่าที่ address bar ยังมีรูปแม่กุญแจอยู่
  2. ลองกดลิงก์ข่าว ลองจับ Microsoft Surface 2 หรือ Cut the Rope 2 มาลงบน Android แล้ว จะพบว่าเครื่องหมายแม่กุญแจกลายเป็นเครื่องหมายเตือน

ตรวจสอบดูแล้ว ในส่วนที่แสดงคอมเมนต์แต่ละอัน จะมีส่วนที่อ้างอิงถึง "http://www.blognone.com/files/blank.png" อยู่ เลยทำให้ระบบเตือนเรื่องความปลอดภัยครับ

อันที่จริง ลองใช้ FireFox v28, IE 9, Chrome v33 บน Windows 7 ก็อาการลักษณะเดียวกันหมดครับ

Hiring! บริษัทที่น่าสนใจ

Carmen Software company cover
Carmen Software
Hotel Financial Solutions
Next Innovation (Thailand) Co., Ltd. company cover
Next Innovation (Thailand) Co., Ltd.
We are web design with consulting & engineering services driven the future stronger and flexibility.
KKP Dime company cover
KKP Dime
KKP Dime บริษัทในเครือเกียรตินาคินภัทร
Kiatnakin Phatra Financial Group company cover
Kiatnakin Phatra Financial Group
Financial Service
Fastwork Technologies company cover
Fastwork Technologies
Fastwork.co เว็บไซต์ที่รวบรวม ฟรีแลนซ์ มืออาชีพจากหลากหลายสายงานไว้ในที่เดียวกัน
Thoughtworks Thailand company cover
Thoughtworks Thailand
Thoughtworks เป็นบริษัทที่ปรึกษาด้านเทคโนโยลีระดับโลกที่คว้า Great Place to Work 3 ปีซ้อน
Iron Software company cover
Iron Software
Iron Software is an American company providing a suite of .NET libraries by engineer for engineers.
CLEVERSE company cover
CLEVERSE
Cleverse is a Venture Builder. Our team builds several tech companies.
Nipa Cloud company cover
Nipa Cloud
#1 OpenStack cloud provider in Thailand with our own data center and software platform.
Bangmod Enterprise company cover
Bangmod Enterprise
The leader in Cloud Server and Hosting in Thailand.
CIMB THAI Bank company cover
CIMB THAI Bank
MOVING FORWARD WITH YOU - CIMB is the leading ASEAN Bank
Bangkok Bank company cover
Bangkok Bank
Bangkok Bank is one of Southeast Asia's largest regional banks, a market leader in business banking
MuvMi (Urban Mobility Tech Co.,Ltd.) company cover
MuvMi (Urban Mobility Tech Co.,Ltd.)
Shape the future of urban mobility towards affordable, clean, and safe solutions
T.N. Digital Solution Co., Ltd. company cover
T.N. Digital Solution Co., Ltd.
TNDS has been involving in every first move of banking’s major digital transformation.
KBTG - KASIKORN Business-Technology Group company cover
KBTG - KASIKORN Business-Technology Group
KBTG - "The Technology Company for Digital Business Innovation"
Siam Commercial Bank Public Company Limited company cover
Siam Commercial Bank Public Company Limited
"Let's start a brighter career future together"
Icon Framework co.,Ltd. company cover
Icon Framework co.,Ltd.
Global Standard Platform for Real Estate แพลตฟอร์มสำหรับธุรกิจอสังหาริมทรัพย์ครบวงจร มาตรฐานระดับโลก
REFINITIV company cover
REFINITIV
The Financial and Risk business of Thomson Reuters is now Refinitiv
H LAB company cover
H LAB
Re-engineering healthcare systems through intelligent platforms and system design.
The Gang Technology Co., Ltd. company cover
The Gang Technology Co., Ltd.
We're a Digital Agency that helps our customers transform their business into digital with ease.
LTMH company cover
LTMH
LTMH มุ่งเน้นการพัฒนาผลิตภัณฑ์ที่สามารถช่วยพันธมิตรของเราให้บรรลุเป้าหมาย
Seven Peaks company cover
Seven Peaks
We Drive Digital Transformation
Wisesight (Thailand) Co., Ltd. company cover
Wisesight (Thailand) Co., Ltd.
The Best Choice For Handling Social Media · High Expertise in Social Data · Most Advanced and Secure
MOLOG Tech company cover
MOLOG Tech
We are Modern Logistic Platform, Specialize in WMS, OMS and TMS.
Data Wow Co.,Ltd company cover
Data Wow Co.,Ltd
We enable our clients to realize increased productivity by solving their most complex issues by Data
LINE Company Thailand company cover
LINE Company Thailand
LINE, the world's hottest mobile messaging platform, offers free text and voice messaging + Call
LINE MAN Wongnai company cover
LINE MAN Wongnai
Join our journey to becoming No.1 food platform in Thailand

พวกนั้นเป็น hotlink ที่คนเขียนเนื้อหาใช้เพื่อชี้ไปยังรูปภาพครับ น่าจะแก้ไม่ได้มั้งครับ

ส่วนตัวที่ผมชี้ เป็นส่วนหนึ่งของเทมเพลตเว็บที่ Blognone ใช้ครับ

แก้ได้ครับ คือต้องไปไล่ regex หา http ถ้าเจอ tag image แล้วดูดลงมาแล้ว up ขึ้นใหม่ที่เป็น https หมด แล้วจับ replace link เก่าให้หมด

ปล.แต่แอบงงเหมือนกันทำเว็ปที่เป็น https แล้วดันให้โพสรูปที่เป็น http ได้เฉยเลย น่าจะเขียนดักไว้ซะหน่อย -*-)

มันไม่ง่ายกับเว็บที่ไม่ได้วางให้ใข้ https ตั้วแต่แรกครับ แถมถ้า hotlink เข้ามาด้วย ต้องทำการ cache image ที่ hotlink ต่างหากเพื่อเรียกจาก https ได้ครับ ไม่งั้นขึันเตือนอยู่ดี ซึ่งการ cache image ที่ว่า ทำแนวๆ เดียวกับ facebook นั้นแหละครับ

ผมว่าไม่ถึงกับยากมากนะแค่
1.regex link จาก query หรือ text ใน tag image
2.download link image จาก 1 มาแล้ว upload ไปที่ที่มี https (ถ้าห่วงเรื่องพื้นที่ Picasa ช่วยได้)
3.จับมา regex replace กลับ

ไม่ยากครับ แต่ไม่คิดว่าจำเป็นต้องทำ สิ่งที่บอกกับสมาชิกคือหลังจากนี้ถ้า embed อะไรที่ไม่ใช่ HTTPS จะไม่แสดงและปล่อยไว้แบบนั้น

อันนี้ชี้แจงว่าเราเพิ่งปรับมาใช้ HTTPS ไม่กี่วันมานี่เองครับ (ไม่ถึงเดือน) ก่อนหน้านี้เปิด HTTPS และมี valid cert แต่ไม่ได้บังคับใช้งาน ผู้ใช้ส่วนมากยังคงใช้ HTTPS กันต่อไป

ในแง่ของหน้าเก่าคงไม่เข้าไปแก้ครับ ถ้าใครอยากเห็นภาพต้องกด load unsafe resource กันเอง ส่วนของใหม่ๆ เวลาที่คนเขียนโพสจะรู้ตัวอยู่แล้วว่ามันโหลดไม่ขึ้น