如何使用 SSL 使我的网站有效? [英] How to make my site valid using SSL?

查看:59
本文介绍了如何使用 SSL 使我的网站有效?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站位于具有专用 IP 的专用服务器上,并且安装了 SSL 证书(并且有效).

I have a website that is on a dedicated server with a dedicated IP and has a SSL Certificate installed (and is valid).

当我转到我的网站并输入 https 而不是 http 时,我的网站仅部分加载,因为 google chrome 说我的网站有一些不安全的数据.

When I go to my website and enter https instead of http my site only partially loads, because google chrome says my site has some non-secure data.

我的网站没有对用户名、密码、登录名等进行任何处理(目前).什么会导致这种情况发生,我该如何解决?

My site does not do anything with usernames, passwords, logins, etc (YET). What would cause this to happen, and how do I fix this?

编辑我认为您不必这样做,但如果您确实需要知道 URL,则它是:https://www.thexcodec.com

EDIT I don't think you will have to, but if you do need to know the URL it is: https://www.thexcodec.com

推荐答案

这是因为您正在混合通过 HTTP 和 HTTPS 提供的内容.

It is because you are mixing content served over HTTP and HTTPS.

HTTPS 是一种全有或全无的方案.一旦您通过纯 HTTP 包含任何内容,无论是 javascript、css、图像还是其他任何内容,您就失去了页面仅包含来自可信来源的可信内容的信心.确保您仅通过 HTTPS 请求其他资源.

HTTPS is an all or nothing scheme. As soon as you include any content over plain HTTP, whether javascript, css, images or anything else, you have lost the confidence that the page contains only trusted content from a trusted source. Ensure you only request other resources over HTTPS.

我可以看到您通过 HTTP 从 Google 地图中获取资源.您需要将它们切换到 HTTPS.

I can see that you pull in resources over HTTP from Google maps. you will need to switch those to HTTPS.

这篇关于如何使用 SSL 使我的网站有效?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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