osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

SSL broken on sub files

This is a discussion on SSL broken on sub files within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; any one can help it's highly appreciated I have our own SSL certificate, installed successfully, and main page is accessible ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-15-2007, 01:41 AM
ontime's Avatar
Lurker
 
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ontime is on a distinguished road
Default SSL broken on sub files

any one can help it's highly appreciated

I have our own SSL certificate, installed successfully, and main page is accessible through HTTPS, but all links on the main page is take you to unsecured page!! if you move the mouse over any link on the main page you can see it take you to HTTP not HTTPS


here a copy of my configure.php


define('HTTP_SERVER', 'http://ashroti.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://ashroti.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'ashroti.com');
define('HTTPS_COOKIE_DOMAIN', 'ashroti.com');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/catalog/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 04-15-2007, 06:06 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,436
Thanks: 73
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: SSL broken on sub files

Only the checkout pages and login are secured. No other pages need to be since no sensitive information is ever passed on other pages.

So, when I go to your site and try to login, it correctly switches to ssl, then after logging in, correctly switches back to non-ssl.

Same for the checkout process. On your site when I try to checkout, it correctly switches to ssl.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 04-15-2007, 09:14 AM
ontime's Avatar
Lurker
 
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ontime is on a distinguished road
Default Re: SSL broken on sub files

Thanks for your response
You are right, it switch automatically to SSL in sensitive pages as login & order process
but, still have other 2 concerns!!

1. when browse any HTTPS page, there is "ERROR ON PAGE" message display in the left bottom corner on "Internet Explorer 7" browser window, when use "Netscape 7" there is NO error


2. when login to ADMIN area using HTTPS, it display "You are protected by a unknown secure SSL connection" when log with HTTP it display "You are not protected by a secure SSL connection" our SSL certificate is valid & issued by trustable ssl source

Any advice?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 04-16-2007, 10:52 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,665
Thanks: 2
Thanked 93 Times in 79 Posts
Rep Power: 12
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default Re: SSL broken on sub files

Which certificate authority did you purchase your SSL from? More than likely if it is from one of the NEWER firms - you have not updates Windows ROOT CERTIFICATES AUTHORITIES. Run Windows Update to fix IE....

Now if you setup your own SSL or created a SELF SIGNED SSL then IE 7 is working.

..... But looks like you got it from GoDaddy.com Which is fine.....

...Except...you have a Go Daddy Class 2 Certification Authority Root Certificate - which is a new(er) Certificate Chain. Which means WINDOWS IE does not know about it. You can also get the needed CRT or CER files from:

https://certificates.godaddy.com/Repository.go



Good Luck!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 04-16-2007, 10:53 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,665
Thanks: 2
Thanked 93 Times in 79 Posts
Rep Power: 12
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default Re: SSL broken on sub files

PS - my PC is patched to date so it shows up just fine in IE, Firefox, and Netscape.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 04-16-2007, 12:12 PM
Member
 
Join Date: Feb 2007
Posts: 31
Thanks: 2
Thanked 2 Times in 2 Posts
Rep Power: 0
Autoegocrat is on a distinguished road
Default Re: SSL broken on sub files

Quote:
Originally Posted by ontime View Post
Thanks for your response
You are right, it switch automatically to SSL in sensitive pages as login & order process
but, still have other 2 concerns!!

1. when browse any HTTPS page, there is "ERROR ON PAGE" message display in the left bottom corner on "Internet Explorer 7" browser window, when use "Netscape 7" there is NO error

I had this same problem when I tried browsing my OSCMax shop through IE, but Firefox could view it without a hitch. After a short time of digging in the forums I found a solution posted by Michael in a number of threads. Works like a charm:

Error line 168

Aside from that, I also have the problem with some referencing coming up as http when they should be https causing the "Partially Encrypted" SSL warning. My SSL provider is also GoDaddy, and of the Turbo variety. My admin page comes up secure in both FF and IE (although the lock graphic on the OSCMax admin page is still unlocked but I don't really care about that yet). I've also done quite a bit of digging on this topic in both these forums and the OSCommerce ones, but have been unable to find a definitive fix. I convinced my host to switch PHP from CGI to the ISAPI module, and that fixed a slew of problems, and my webserver is IIS. I'm 99% sure my configure.php for the catalog is correct, but if you desire, I will post it when I get back to this forum next to check messages and I have more time.

Thanks!

Auto
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 04-19-2007, 12:33 PM
Member
 
Join Date: Feb 2007
Posts: 31
Thanks: 2
Thanked 2 Times in 2 Posts
Rep Power: 0
Autoegocrat is on a distinguished road
Exclamation Re: SSL broken on sub files

Quote:
Originally Posted by ontime View Post
Thanks for your response
You are right, it switch automatically to SSL in sensitive pages as login & order process
but, still have other 2 concerns!!

1. when browse any HTTPS page, there is "ERROR ON PAGE" message display in the left bottom corner on "Internet Explorer 7" browser window, when use "Netscape 7" there is NO error


2. when login to ADMIN area using HTTPS, it display "You are protected by a unknown secure SSL connection" when log with HTTP it display "You are not protected by a secure SSL connection" our SSL certificate is valid & issued by trustable ssl source

Any advice?

Just a friendly update to let you know how I fixed these problems. Sorry about the reference to the Error Line 106 thread or whatever...I misread the post. This should fix both of your issues in one fell swoop- it did for me! (Backflips!)

As with the other issues I've had with the setup, dig and dig and dig some more in the forums, try all of the possible solutions, and then post a new thread if none of them work. I found this particular solution in an OSCommerce thread, but it may also be posted here in the OSCMax ones.
Here goes:

In /catalog/includes/APPLICATION_TOP.PHP -

Replace:
PHP Code:
$request_type = (getenv('HTTPS') == 'on') ? 'SSL' 'NONSSL'
With this:

PHP Code:
$request_type = (eregi ($HTTP_HOSTHTTPS_SERVER)) ? 'SSL' 'NONSSL'
Good luck!

Auto

Last edited by Autoegocrat; 04-19-2007 at 01:11 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
The Following User Says Thank You to Autoegocrat For This Useful Post:
michael_s (04-19-2007)
  #8  
Old 04-20-2007, 06:56 AM
Member
 
Join Date: Feb 2007
Posts: 31
Thanks: 2
Thanked 2 Times in 2 Posts
Rep Power: 0
Autoegocrat is on a distinguished road
Default Re: SSL broken on sub files

Quote:
Originally Posted by jpf View Post
Which certificate authority did you purchase your SSL from? More than likely if it is from one of the NEWER firms - you have not updates Windows ROOT CERTIFICATES AUTHORITIES. Run Windows Update to fix IE....

Now if you setup your own SSL or created a SELF SIGNED SSL then IE 7 is working.

..... But looks like you got it from GoDaddy.com Which is fine.....

...Except...you have a Go Daddy Class 2 Certification Authority Root Certificate - which is a new(er) Certificate Chain. Which means WINDOWS IE does not know about it. You can also get the needed CRT or CER files from:

https://certificates.godaddy.com/Repository.go



Good Luck!

As an afterthought, I guess you're right. He should check to see if his Chained cert (Turbo SSL is a chained cert!) is correctly installed first. If the intermediate package is overlooked and not installed, this also could cause the security warnings to pop up.

What is a chained certificate?
In order to enhance the security of the Root certificate we have created two intermediate certificates from which SSL certificates are signed and issued. An intermediate certificate is a subordinate certificate issued by the trusted root specifically to issue end-entity server certificates. The result is a certificate chain that begins at the trusted root CA, through the intermediate and ending with the SSL certificate issued to you. Such certificates are called chained root certificates.

Refer to their instructions, and make sure that you install the intermediate package before the actual SSL file. Here are GoDaddy's instructions- Pick your webserver and follow the instructions.

https://certificates.godaddy.com/Ins...uctions_alt.go

and, like JPF said, obtain the intermediate cert package for your specific webserver here:

https://certificates.godaddy.com/Repository.go



On to the next hurdle!!!

Auto
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
Broken Images auntie22 osCMax v2 Installation issues 1 07-24-2005 10:32 AM
SSL is broken midwestwebsites osCMax v1.7 Discussion 26 07-12-2005 03:47 PM
ESFNET module broken... why!? carrja99 osCMax v1.7 General Mods Discussion 2 03-11-2005 10:22 AM
Broken heading h4ppy_girl osCommerce 2.2 Modification Help 1 09-08-2004 08:23 AM
ALL LINKS BROKEN, Please Help! greg_pdq osCMax v1.7 Discussion 2 08-25-2004 12:37 PM


All times are GMT -8. The time now is 12:44 AM.


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