General discussion


installed a Verisign SSL certificate

By michael ·
Problem: We have images on our site that are sourced from an external site. We recently installed a Verisign SSL certificate and these images are causing an warning to pop up on every page that both secure and nonsecure items are on the page. Most of the images on the external sites cannot be accessed just by placing an 's' after the http in the src to the img, so my question is this:

How do you eliminate the warning about nonsecure info on a secure page?

We are using php. I have triedembedding the images in scripts, but either the external image won't show up, or I still get the warning.
I tried using a secure php file to access another php that would then create the img tag. These were the results of several types of include attempts:
1)php include() function -> got warning
2)php require() function -> got warning
3)html #include file and this just didn't show anything

I even tried to use javascript to create the img tag and did a document.write, but that also resulted in the warning...

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

installed a Verisign SSL certificate

by Haris In reply to installed a Verisign SSL ...

All images that you need to display on a secured page (accessed as https://...) must be stored in the secure directory. PLace the images in the directory where you have installed the certificate and placed the other secure pages.

You cannot eliminate the warning if you access images or items outside the secured directory.

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums