osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

https error

This is a discussion on https error within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; After much mucking about I'm almost ready to give the world a look at my site, but I have a ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 06-24-2004, 08:39 AM
New Member
 
Join Date: Jun 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
wheelie
Default https error

After much mucking about I'm almost ready to give the world a look at my site, but I have a security question that I'm struggling with.

When I log into the admin section on my site, it informs me :

'You are not protected by a secure SSL connection. '

When I set the system up I selected the SSL enable option, but I also have problems with the checkout and account options on the main site. Obviously these two problems are linked together, the question is how do I fix it.

When I go into the checkout option, I get an error telling me that the security certificate is invalid and do I want to accept the one presented to me, even when I say 'Yes' the file does not appear because the https link isn't there.

How do I fix this, is it a problem at the server side, or is it a configuration problem on my side (or both) ??

All help greatly accepted.

wheelie
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 06-24-2004, 09:38 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default

You need to BUY and setup an SSL certificate. Some host provide a SHARED certificate. But then the URL changes to there SECURE site...

IE: Normal (Un-Secure) site:
http://www.yoursite.com/catalog etc....

Secure (SSL) site:
https://www.yourhostsecuresite.com/~yoursite/catalog etc....

You might have a "self signed" certificate - which is NOT trusted - thus browser complains everytime someon visits your secure site - OR you host has a cerificate installed on that server but it is not for your URL name or is out of date or your IP changed or....a few other reasons....

Ask your hosting about there SSL settings (if shared) or provide (or how to get) the "keys" required to get your OWN SSL certificate (then shop for one...and install it onto your site) for your site.

Good Luck.

(BTW there is 2 differnet files for SSL setting in OSC - one for ADMIN and one for CATALOG - see/edit both of the configure.php files...)
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
The Following User Says Thank You to jpf For This Useful Post:
subtleinstrument (02-16-2007)
  #3  
Old 06-29-2004, 06:44 AM
New Member
 
Join Date: Jun 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
wheelie
Default

ok thanks for that. At least I now have a clue where to start looking for this.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 07-21-2004, 06:49 AM
New Member
 
Join Date: Jun 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
wheelie
Default

I've still got a problem.

I've installed the security certificate (Note : this is not a shared certificate, but one assigned to www.velvetbox.co.uk), which seemed to work ok. I've checked both the configure.php files and they both have the following setting:

define('HTTPS_SERVER', 'https://www.velvetbox.co.uk');
define('ENABLE_SSL', true); // secure webserver for checkout procedure?

But it still doesn't work. Am I missing the point here or what??

Is it the https://www.velvetbox.co.uk part? On the previous message on this thread jpf mentioned that the urls should be :

IE: Normal (Un-Secure) site:
http://www.yoursite.com/catalog etc....

Secure (SSL) site:
https://www.yourhostsecuresite.com/~yoursite/catalog etc....

now for me this means that the unsecure site is : http://www.velvetbox.co.uk, but the secure site is : https://www.here4hosting.com/~velvetbox/catalog. This doesn't seem right at all.

I thought it would be https://www.velvetbox.co.uk because thats what the security certificate is setup as.

Help, this is really starting to annoy me.

thanks in advance

Tommy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 07-21-2004, 12:42 PM
Active Member
 
Join Date: May 2003
Posts: 148
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Arpit
Default

wheelie,
Quote:
IE: Normal (Un-Secure) site:
http://www.yoursite.com/catalog etc....

Secure (SSL) site:
https://www.yourhostsecuresite.com/~yoursite/catalog etc....

now for me this means that the unsecure site is : http://www.velvetbox.co.uk, but the secure site is : https://www.here4hosting.com/~velvetbox/catalog. This doesn't seem right at all.
looks like ur site is a virtual site, and hence the different https address, in simple words, your velvetbox.com site is one of the many virtual sites on the www.here4hosting.com server.

One possible solution is to change
Quote:
define('HTTPS_SERVER', 'https://www.velvetbox.co.uk');
to

Quote:
define('HTTPS_SERVER', 'https://www.here4hosting.com/velvetbox.com');
Also, Im not sure what milestone ur using, if your configure.php has the lines regarding cookie domain, make sure you change them to look like:

Quote:
define('HTTP_COOKIE_DOMAIN', 'http://www.here4hosting.com/velvetbox.com);
define('HTTPS_COOKIE_DOMAIN', 'https://www.here4hosting.com/velvetbox.com);
The whole virtual hosting crap sure can get very confusing, give this a shot
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
The Following User Says Thank You to Arpit For This Useful Post:
subtleinstrument (02-16-2007)
  #6  
Old 07-22-2004, 03:07 AM
New Member
 
Join Date: Jun 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
wheelie
Default

brilliant, I'll give that a go and see what happens.

Thanks again
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 07-23-2004, 03:34 AM
New Member
 
Join Date: Jun 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
wheelie
Default

Nope still didn't work unfortunately.

When I change it to that I start to get 404 file not found errors. Surely I should be able to at least see my certificate on this site, and I can't do that. I know its installed correctly as I have the output from the system when its installed it.

Any more ideas?

thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
404 error on non https pages Anonymous osCMax v1.7 Discussion 3 07-11-2004 04:39 AM
https:// not quite doing it for me yet! ozstar osCMax v1.7 Discussion 11 06-16-2004 04:06 PM
Easy Populate https error john- osCMax v1.7 General Mods Discussion 0 12-27-2003 06:13 PM
when in https.... Anonymous osCommerce 2.2 Modification Help 2 12-28-2002 07:36 PM
Too much https: ?? sheikyerbouti osCommerce 2.2 Installation Help 2 12-11-2002 06:40 PM


All times are GMT -8. The time now is 05:39 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax