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

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

问题描述

我有一个ASP.NET站点,它应该完全通过HTTPS传输。但是,在谷歌浏览器中,我收到警告,该页面包含不安全的资源。我如何找出这些资源是什么以及为什么它们不会通过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?

推荐答案

通常这是因为你正在加载图像,javascript包含文件或外部CSS文件而不使用https。您可以使用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.

以下是使用firebug的方法:

Here's how to use firebug:

打开firebug
单击控制台选项卡
重新加载页面
任何https错误都将显示在控制台中,并告诉您哪个资源不起作用。

Open firebug Click on the Console Tab Reload the page Any https errors will show in the console and tell you which resource is not working.

希望这有助于

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

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