Khi chạy một số máy chủ HTTP localhost với HTTPS được cấu hình, có thể có một số vấn đề khi mở trang localhost trên trình duyệt Chrome do lo ngại về bảo mật.
Certificate is invalid for localhost in Chrome
Summary
Developers often encounter certificate errors when running HTTPS services on localhost in Chrome, as the browser flags these self-signed certificates as untrusted. To bypass this security restriction for trusted local development environments, a simple workaround involves enabling a specific Chrome configuration flag. Navigate to chrome://flags/#allow-insecure-localhost in the browser, activate the 'Allow insecure localhost' option, and then relaunch Chrome to apply the change, resolving the certificate validation issue.
chrome://flags/#allow-insecure-localhost
Nhập lệnh trên vào thanh địa chỉ trình duyệt và Bật cờ.
RELATED
COMMENTS
2Same problem here. Any help?
this is not working in crome 119... guide