Certificate is invalid for localhost in Chrome

English 简体中文 Tiếng Việt
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.

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.

chrome://flags/#allow-insecure-localhost

Nhập lệnh trên vào thanh địa chỉ trình duyệt và Bật cờ.

CHROME CERTIFICATE HTTPS LOCALHOST ELASTICSEARCH

  RELATED

  COMMENTS

2
Anonymous
Nov 5, 2023 at 10:58 pm

this is not working in crome 119... guide

Anonymous
Nov 7, 2023 at 5:01 am

Same problem here. Any help?