How to enable crypto.subtle for unsecure origins in Chrome?

前端 未结 2 1926
别跟我提以往
别跟我提以往 2021-01-18 12:46

In Chrome 60, they added a feature that disables crypto.subtle for non-TLS connections. Our product needs to run a local server and forward some secure

2条回答
  •  粉色の甜心
    2021-01-18 13:16

    You should make a CNAME or hosts entry that points a valid domain at 127.0.0.1, then get a (perhaps self-signed) certificate for that domain.

提交回复
热议问题