Validate Non Secured URL on a Secured Website

I recently purchased an SSL Certificate for this site to secure communications between your computer and the web server of this site. So, from now on our typical https:// requests on this site would be handled with https:// (added layer of security) request.

Now, in order to make this site entirely secure, I have to use resources (images, scripting files etc.) from a secured sources as well. For an example, If I am using a JavaScript (.js) file that requires https:// request instead of https://, this site won't be entirely secure as this site would be dealing with files from a non-secured URL. Let's take a look at the example below.

<script src=""></script>

As you can see, I am using a script which is located on a server that is not using "https://" protocol. Using resources from such link will not entirely validate your site to be secure even if you have SSL Certificate installed on your server. You should be able understand this from the color of the lock sign (on Chrome, Firefox) on your browser (before URL field).

Green Lock IconGreen Lock Icon Representing the Validity of Secured Connection.

Since you can not change the "https://" request to other's servers, you can still used them and yet get your site verified. Perhaps you can use the following method.

<script src="//"></script>

In other words, simply get rid of the "https:" portion. Even though this is not the best practice, this method should get your site verified. This method works regardless of the URL. Hope that helps.


Commenting is disabled.