AJAX https和SSL验证错误

时间:2023-01-05 00:20:19

I have a page that loads a div via AJAX. The AJAX POST call is made in https from a page with the protocol also https.

我有一个页面通过AJAX加载div。 AJAX POST调用是通过https从一个页面进行的,协议也是https。

If I visited the page being loaded into the div directly, there are no SSL issues. If I visit the parent page before loading the div, there are no SSL issues. The error only occurs when I click a link to load the content inside the div. Suddenly, there is an error with the SSL Cert. In firefox I get the following info: "Connection partially encrypted"

如果我直接访问了加载到div中的页面,则没有SSL问题。如果我在加载div之前访问父页面,则没有SSL问题。仅当我单击链接以加载div中的内容时才会出现此错误。突然,SSL Cert出现错误。在Firefox中我得到以下信息:“连接部分加密”

What's partially encrypted? The page is fetched via https, the parent is https, both have no problems on their own...

什么是部分加密的?页面是通过https获取的,父级是https,两者都没有问题...

I don't get it.

我不明白。

1 个解决方案

#1


0  

@durilai:

@durilai:

Figured it out. There was a loading image being used during the ajax call that used the http protocol. It didn't appear because it loaded so quickly. Found it in the javascript.

弄清楚了。在使用http协议的ajax调用期间使用了加载映像。它没有出现,因为它加载速度如此之快。在javascript中找到它。

::shakes head::

::摇头::

#1


0  

@durilai:

@durilai:

Figured it out. There was a loading image being used during the ajax call that used the http protocol. It didn't appear because it loaded so quickly. Found it in the javascript.

弄清楚了。在使用http协议的ajax调用期间使用了加载映像。它没有出现,因为它加载速度如此之快。在javascript中找到它。

::shakes head::

::摇头::