找出哪些资源不通过 HTTPS [英] Find out what resources are not going over HTTPS

查看:27
本文介绍了找出哪些资源不通过 HTTPS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 ASP.NET 站点,它应该完全通过 HTTPS 传输.但是,在 Google Chrome 中,我收到一条警告,指出该页面包含不安全的资源.我如何才能找出这些资源是哪些以及为什么它们不会通过 HTTPS?

I have an ASP.NET site which should transport completely over HTTPS. However, in Google Chrome I get a warning that the page includes resources which are not secure. How can I find out which those resources are and why they wouldn't be going over HTTPS?

推荐答案

通常发生这种情况是因为您在不使用 https 的情况下加载图像、javascript 包含文件或外部 CSS 文件.您可以使用 FireBug 等程序:http://getfirebug.com/

Usually this occurs because you are loading Images, javascript include files or external CSS files without using https. You can use a program such as FireBug: http://getfirebug.com/

FireBug 会告诉你你的元素是如何加载的,哪些没有通过 ssl 层.如果你没有 firefox,那么我很确定 Chrome 也内置了类似于 FireBug 的东西.

FireBug will tell you how your elements are loading and which aren't going through the ssl layer. If you don't have firefox, then I am pretty sure Chrome also has something similar to FireBug built in.

以下是萤火虫的使用方法:

Here's how to use firebug:

  1. 打开萤火虫
  2. 点击控制台标签
  3. 重新加载页面
  4. 任何 https 错误都会显示在控制台中,并告诉您哪个资源不起作用.

希望能帮到你

这篇关于找出哪些资源不通过 HTTPS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆