Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Stupid SSL security error popup


2hard4u

Recommended Posts

Your cert needs to match the server name as called in the https url or visa versa.

 

ie: if your ssl cert from thawte or whomever is for domain.com

but your ssl server is defined in osc as http://www.domain.com you will get an error.

Even if you are using a shared cert .. you can put that url in the ssl setting in config.php

ie: http://host.mysharedhost/~mydomain.com/

 

This will of course mean that your url will change during secure periods. If you don't want that, then you will need to get your own cert.

Link to comment
Share on other sites

you are 100% correct

Big brain fade on my part .. I had the pop up saying that the cert didn't match the domain name .. and even if it was that .. I forgot to use https in my post . My addition about the shared cert was also silly because you obviously have ssl working so you have a good ssl url in configure.php :oops: It has been a long week.

 

If you have any extra images in your pages .. header.php is a good example ... many people put different images in there and call them by their full url http://domain.com/image/blah.gif .. that should either be a proper https path to that image or a relative linke ie: just image/blah.gif

 

thanks for catching that toolcrazy !

Link to comment
Share on other sites

  • 4 weeks later...

Hi guys,

 

Another twist to the nonsecure popup message.

 

I have CPanel which only has a public_html folder. When an SSL is installed there is no need copy files to a separate folder. They are just caled as https:// and work fine. I am still getting this error message.

 

Anyone have any ideas?

Link to comment
Share on other sites

You need to be sure that ALL of the images that are called in your secure pages are called with the accepted "tep_image(DIR_WS_IMAGES etc." type of call or they will be seen as non-secure.

... if you want to REALLY see something that doesn't set up right out of the box without some tweaking,

try being a Foster Parent!

Link to comment
Share on other sites

  • 2 weeks later...
You need to be sure that ALL of the images that are called in your secure pages are called with the accepted "tep_image(DIR_WS_IMAGES etc." type of call or they will be seen as non-secure.

 

What is the exact format for calling an image from the catalog/images directory for instance?

 

I need afew examples so i can see it on the screen here.

 

1. A picture with a link tied to it, and

2. just a picture, and

3. picture with specified dimensions

 

I have the first one down:

<?php echo tep_image(DIR_WS_IMAGES . 'some_picture.jpg'); ?>

 

But the other two are stumping me

Link to comment
Share on other sites

this is now a problem for me too, the pop up displaying that there are both non secure and secure item. How is this problem overcome?

 

All my files reside on the same server so I thought this should not happen,but it's something to do with the paths.

 

Which ones do I need to change please?

 

Andrew

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...