我有个问题。我已经在ASP.NET MVC 4中配置了一个带有SSL(https(连接的web。但当我用一个简单的表格发送我的证书时,Fiddler 2会用纯文本显示我的证书。。。
我的网络配置文件:
<authentication mode ="Forms">
<forms loginUrl="~/Account/LogOn" timeout="20" protection="All" requireSSL="true" />
<!-- <forms loginUrl="~/Account/LogOn" timeout="20" protection="All" requireSSL="true" /> -->
</authentication>
<httpCookies httpOnlyCookies="true" requireSSL="true" lockItem="true"/>
和全局文件:
filters.Add(new HandleErrorAttribute());
filters.Add(new System.Web.Mvc.AuthorizeAttribute());
filters.Add(new RequireHttpsAttribute());
有什么帮助吗?非常感谢。
这很正常。Fiddler注册为您的网络浏览器的代理,这意味着它将看到未加密的流量。没什么好担心的。如果中间有一个人在网络上收听,他将看不到这一点。