markdown Chrome中的dev和foo域扩展程序强制重定向到HTTPS备注

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown Chrome中的dev和foo域扩展程序强制重定向到HTTPS备注相关的知识,希望对你有一定的参考价值。

openssl req \
    -newkey rsa:2048 \
    -x509 \
    -nodes \
    -keyout server.key \
    -new \
    -out server.crt \
    -subj /CN=canadadry-carbonate.dev \
    -reqexts SAN \
    -extensions SAN \
    -config <(cat /System/Library/OpenSSL/openssl.cnf \
        <(printf '[SAN]\nsubjectAltName=DNS:your-dev-domain-here.dev')) \
    -sha256 \
    -days 3650
Setup HTTPS with self signed cert. Load the page and recieve ERR_CERT_AUTHORITY_INVALID error. Type `badidea` anywhere on the Chrome warning page. Seriously!

* https://tech.slashdot.org/story/17/09/18/192227/chrome-to-force-domains-ending-with-dev-and-foo-to-https-via-preloaded-hsts
* https://ma.ttias.be/chrome-force-dev-domains-https-via-preloaded-hsts/
* https://stackoverflow.com/questions/7580508/getting-chrome-to-accept-self-signed-localhost-certificate
* https://serverfault.com/questions/845766/generating-a-self-signed-cert-with-openssl-that-works-in-chrome-58
* https://github.com/webpack/webpack-dev-server/issues/854
* https://stapp.space/hsts-error-in-chrome/
* https://techglimpse.com/chrome-https-website-hsts-failed/

以上是关于markdown Chrome中的dev和foo域扩展程序强制重定向到HTTPS备注的主要内容,如果未能解决你的问题,请参考以下文章

markdown 使用域访问portainer(在我们的例子中是portainer.test.dev)

如何在 terraform 中创建地图

Chrome无法解析Vagrant / VirtualBox主机?

markdown Chrome中的不安全页面

Chrome 中的文件 URL 跨域问题 - 意外

mac版chrome怎么设置跨域访问