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.

当运行一些配置了HTTPS的本地HTTP服务器时,由于安全问题,可能无法在Chrome浏览器上打开本地页面。

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

在浏览器地址栏中输入以上内容并启用该标志。

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?