Firefox中是否有等效的Google Chrome的allow-insecure-localhost标志? [英] Is there a equivalent of allow-insecure-localhost flag of Google Chrome in Firefox?
问题描述
我想将"wss"(使用SSL加密的websocket)与不安全的(自签名)证书连接.
但这是一个错误.
该错误是由默认的Firefox设置引起的,它似乎不允许连接到自签名的ssl和chrome.
I want to connect "wss" (SSL-ed websocket) with insecure (self signed) cerfiticate.
But it is raise a error.
This error caused by default firefox setting that it seems like does not allow connecting to self-signed ssl as well as chrome.
在Chrome中,此行为可以通过chrome://flags中的allow-insecure-localhost
标志进行更改.
In Chrome, this behaivior is able to change by allow-insecure-localhost
flag in chrome://flags.
Firefox中是否存在等效标志?
Is there a equivalent flag in Firefox?
推荐答案
导航到
about:config
about:config
看看:
network.websocket.allowInsecureFromHTTPS
network.websocket.allowInsecureFromHTTPS
但是它不仅适用于本地主机,所以要小心:D
but it won't be for localhost only so be carefull :D
这篇关于Firefox中是否有等效的Google Chrome的allow-insecure-localhost标志?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!