🔓 TẠI SAO WEBSITE CÓ SSL NHƯNG KHÔNG CÓ Ổ KHÓA?
Website của bạn đã cài SSL Certificate nhưng browser vẫn hiển thị "Not Secure" hoặc không có ổ khóa? Đây là vấn đề MIXED CONTENT.
- Mixed Content: Website HTTPS đang load hình ảnh, scripts, CSS qua HTTP không mã hóa
- Certificate Problems: SSL certificate hết hạn, không hợp lệ hoặc không khớp domain
- Insecure Forms: Form đang gửi dữ liệu qua HTTP thay vì HTTPS
- HTTP iFrames: Embed content từ nguồn HTTP không an toàn
- Missing Security Headers: Thiếu các headers bảo mật quan trọng
- Phát hiện TOÀN BỘ mixed content resources (images, scripts, CSS, iframes, etc.)
- Kiểm tra chi tiết SSL certificate validity, expiry date, chain
- Chẩn đoán forms không an toàn, security headers thiếu
- Đưa ra hướng dẫn fix cụ thể từng vấn đề theo độ ưu tiên
- Cho điểm security score và grade (A+ → F)
❓ Câu hỏi thường gặp
Mixed Content xảy ra khi website HTTPS load tài nguyên qua HTTP không mã hóa.
- Scripts: JavaScript files qua HTTP có thể bị inject malware
- Stylesheets: CSS files có thể bị modify để đánh cắp data
- iFrames: Embed content không an toàn vào website
→ Browser sẽ BLOCK active mixed content để bảo vệ users
- Images: Hình ảnh qua HTTP
- Audio/Video: Media files
- Fonts: Web fonts
→ Browser vẫn load nhưng không hiển thị ổ khóa
Install "Really Simple SSL" plugin. Plugin sẽ tự động fix nhiều vấn đề mixed content.
Dùng plugin "Better Search Replace" để thay http:// → https:// trong database.
Tìm kiếm "http://" trong theme files (header.php, footer.php) và thay bằng https://
Thêm CSP header upgrade-insecure-requests
để tự động upgrade HTTP → HTTPS.
| Công cụ | Mục đích | Kiểm tra gì |
|---|---|---|
| SSL Checker | Kiểm tra SSL certificate | Expiry, issuer, chain, protocol, cipher |
| SSL No Padlock | Tìm nguyên nhân không có ổ khóa | Mixed content, forms, iframes, headers |
- Website nhỏ (<50 resources): 5-10 giây
- Website trung bình (50-200 resources): 15-25 giây
- Website lớn (>200 resources): 25-30 giây
* Timeout tối đa: 60 giây. Nếu vượt quá, quét sẽ dừng.
- Rate limit: 10 lần/giờ
- Max resources scan: 500 resources/website
- Cache: 1 giờ (cùng URL sẽ dùng cache)
🔍 Công cụ sẽ kiểm tra
⚠️ Mixed Content
- HTTP Scripts (Critical)
- HTTP Stylesheets
- HTTP Images
- HTTP iFrames
- HTTP Videos/Audio
- HTTP Fonts
🔒 SSL Certificate
- Certificate validity
- Expiry date
- Domain matching
- Certificate chain
- Key size & algorithm
📝 Forms & iFrames
- Insecure form actions
- HTTP form submissions
- Non-HTTPS iframes
🛡️ Security Headers
- HSTS (Strict-Transport-Security)
- Content-Security-Policy
- X-Content-Type-Options
- X-Frame-Options