Chuyển đến nội dung
Skillpedia
Bảo mật75k · #2879

https

Skill này làm gì

Skill này kiểm tra mọi trang của website có dùng kết nối được mã hóa và chứng chỉ hợp lệ không. Skill dành cho chủ trang web và lập trình viên xử lý thông tin của khách truy cập.

Khi nào nên dùng

  • ✓Khi trang web của bạn vẫn có trang được phục vụ qua HTTP thường.
  • ✓Khi chứng chỉ sắp hết hạn hoặc không bao phủ hết các tên miền của bạn.
  • ✓Khi bạn ra mắt website mới hoặc chuyển nhà cung cấp lưu trữ.

Liên kết skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/https/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/https/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể kiểm tra xem toàn bộ website của tôi có dùng HTTPS với chứng chỉ hợp lệ không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent kiểm tra chứng chỉ TLS, phạm vi bao phủ mọi tên máy chủ, và việc các yêu cầu HTTP có chuyển hướng bằng 301 hay không. Nếu cần, agent gợi ý chứng chỉ miễn phí từ nhà cung cấp như Let's Encrypt.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Serve all pages over HTTPS

Plain HTTP exposes every request and response to anyone on the network path — ISPs, Wi-Fi operators, and MITM attackers can read passwords, session tokens, and personal data without any warning to the user.

Quick Reference

  • All HTTP traffic must redirect to HTTPS with a 301 (permanent) redirect
  • TLS certificates must be valid, not expired, and cover all hostnames (including www)
  • HTTPS is a prerequisite for HSTS, HTTP/2, Service Workers, geolocation, and other modern APIs
  • Use a free certificate from Let's Encrypt or your hosting provider's managed TLS
  • Verify the certificate chain with SSL Labs (ssllabs.com/ssltest) — aim for A or A+

Check

Check whether all pages of this website are served over HTTPS. Verify the TLS certificate is valid, not expired, and covers all hostnames. Confirm HTTP requests redirect to HTTPS with a 301 status code.

Fix

Configure the web server to obtain a TLS certificate (e.g., via Let's Encrypt/Certbot), redirect all HTTP requests to HTTPS with a 301 redirect, and ensure all internal links and resources use HTTPS URLs.

Explain

Explain why serving pages over HTTPS is essential for security, what happens when plain HTTP is used, and how to obtain and configure a TLS certificate.

Code Review

Review server config, headers, forms, and integration points related to Serve all pages over HTTPS. Flag exact responses, cookies, or browser behaviors that violate the rule, and verify them against the effective production-like response.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/security/https

Câu hỏi thường gặp

Vì sao HTTP thường có rủi ro?

Bất kỳ ai trên đường truyền mạng đều có thể đọc mật khẩu, token phiên và dữ liệu cá nhân gửi qua HTTP thường.

Những tính năng nào cần HTTPS?

Skill liệt kê HSTS, HTTP/2, service worker và định vị địa lý, cùng một số tính năng hiện đại khác.

Có thể kiểm tra chứng chỉ bằng cách nào?

Skill gợi ý SSL Labs và nhắm tới xếp hạng A hoặc A+.

Chi tiết

Mô tả gốc của tác giả

Use when auditing whether a website or web application serves content exclusively over HTTPS with a valid certificate.

repo: thedaviddias/Front-End-Checklist

Độ phổ biến

Sao GitHub
75k
Vị trí xếp hạng
#2879
Giấy phép
MIT
Cập nhật
31/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự