【问题标题】:Hide a specific warning in IE console window在 IE 控制台窗口中隐藏特定警告
【发布时间】:2017-08-17 20:28:55
【问题描述】:

我正在 SharePoint 2013 网站上处理一个 Angular 项目。在 IE 11 中使用控制台窗口时,我看到 75 条如下警告:

SEC7132: The certificate protecting this web site uses weak cryptography,
SHA1. The web site should replace this certificate with a SHA2 certificate 
before SHA1 is no longer allowed.

现在,请接受我无法控制我的管理员并且我不能强迫他们修复证书的前提。我无法消除此警告的来源。

我知道我可以禁用显示所有警告。但我不能假设我的代码只会产生错误,我仍然会有一些我想看到的警告。如何抑制控制台中的特定警告?

【问题讨论】:

    标签: angularjs debugging warnings internet-explorer-11


    【解决方案1】:

    你不能。它与您的代码无关。 Internet Explorer 在每次请求时都会告诉您,用于您正在访问的 SharePoint 区域(IIS 网站)的 Web 服务器证书正在使用过时且不安全的算法。所以你能做的最好的事情就是让你的管理员意识到他们有一些工作要做:)

    https://technet.microsoft.com/en-us/library/security/4010323.aspx

    【讨论】:

      猜你喜欢
      • 2019-01-03
      • 1970-01-01
      • 2019-07-22
      • 2012-10-14
      • 1970-01-01
      • 2011-04-03
      • 2023-03-28
      • 1970-01-01
      相关资源
      最近更新 更多