修改hosts文件,设置域名指向本机,但是火狐访问域名的时候提示不安全连接并且不可添加例外,怎么解决。
不至于吧。。你使用https协议还是http?我也使用修改hosts文件来调试网站,没出现这个问题过。https的需要配置好服务器证书,不过点击高级可以添加例外
参考
http://superuser.com/questions/826232/how-to-bypass-the-secure-connection-failed-warning-in-firefox-33
https://support.mozilla.org/en-US/kb/what-does-your-connection-is-not-secure-mean
http://mozilla.com.cn/thread-355916-1-1.html
添加证书和浏览时高级页面如下,而且浏览时高级里没有添加例外,直接显示不能添加例外
这是添加证书页面