osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

SSL Security warning when using HTTPS

This is a discussion on SSL Security warning when using HTTPS within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; So i"ve been searching around the forums and have not been able to fix my problem with https. Basically when ...


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 12-12-2006, 09:35 PM
New Member
 
Join Date: Apr 2006
Posts: 11
Thanks: 0
Thanked 2 Times in 1 Post
Rep Power: 0
xpman is on a distinguished road
Default SSL Security warning when using HTTPS

So i"ve been searching around the forums and have not been able to fix my problem with https. Basically when a customer goes to checkout the page switches to https however they get that warning about some stuff on page is not https.

In IE7 even worse, won't even take you to the page without clicking a ok link.

My site I'm trying to get up is : http://store.baltind.com

Anyhow, here is my configure:

// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://store.baltind.com'); // eg, h
define('HTTPS_SERVER', 'https://www.store.baltind.com'); //
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'baltind.com');
define('HTTPS_COOKIE_DOMAIN', 'store.baltind.com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_HTTPS_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/');

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
define('DIR_FS_CATALOG', '/baltind/newstore/catalog/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');


?>


my ssl certifcate is registered to 'www.store.baltind.com' and the main store catalog is under 'store.baltind.com'. Both those domains point to the directory "/baltind/newstore/catalog" on the server.

Anyhow, if anyone has any hints I would greatly appreciate. I'm just using a slightly mod'ed aabox template which I'm gonna be changing out in the new year. Just trying to get something up for the next two weeks for a sale we are doing.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 12-12-2006, 10:01 PM
New Member
 
Join Date: Apr 2006
Posts: 11
Thanks: 0
Thanked 2 Times in 1 Post
Rep Power: 0
xpman is on a distinguished road
Default

PS> I know the problem is with the darn images on the page. Seems that every image loads from the http page rather https. However, I'm fairly certain I have the image settings in configure correct.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 12-12-2006, 10:07 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,067
Thanks: 81
Thanked 348 Times in 327 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

First, change this:

PHP Code:
   define('HTTP_COOKIE_DOMAIN''baltind.com'); 
to this:
PHP Code:
  define('HTTP_COOKIE_DOMAIN''store.baltind.com'); 
But I do not think that is going to fix your issue. Let me know if it does...

I think the issue is that your server is not sending what osCMax expects as a response to the ssl checking. This is the issue. I will have to look around for the way I fixed it before...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • 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. Default multi server configuration for exceptional performance!

  • 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!
  #4  
Old 12-12-2006, 10:12 PM
New Member
 
Join Date: Apr 2006
Posts: 11
Thanks: 0
Thanked 2 Times in 1 Post
Rep Power: 0
xpman is on a distinguished road
Default

Thanks for the quick reply. That did not help, I typoed it at some point when trying to figure this out last few days.

I think the problem is with the base href setting. I'm using 1&1 Internet Inc. - Web Hosting Services and Domain Name Registration for hosting and found this post just a bit ago on it:

osCommerce: 1and1 SSL Fix

When I do a view source on the page it shows the base href as http not https. So I'm trying to read thru these oscommerce thread on how to fix this. If this rings any bells let me know thou
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 12-12-2006, 10:16 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,067
Thanks: 81
Thanked 348 Times in 327 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

Yep, 1&1 has their own quirky ssl setup. That osCommerce fix you posted will resolve your problems. Follow the instructions and your ssl will start working for you...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • 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. Default multi server configuration for exceptional performance!

  • 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!
  #6  
Old 12-12-2006, 10:19 PM
New Member
 
Join Date: Apr 2006
Posts: 11
Thanks: 0
Thanked 2 Times in 1 Post
Rep Power: 0
xpman is on a distinguished road
Default

Well...sure enough, as soon as I post a topic I figure it out. Been trying to get this working for like 4 days now!

Got it working thou. I followed the steps in the above link from oscommerce for 1and1 hosting.

I have a dedicated SSL cert so I did the following:
---------------------------
BACKUP YOUR FILES FIRST!!!

DEDICATED SSL WITH 1AND1 HOSTING
*************************************************
1. Change:
(getenv('HTTPS') == 'on')
to
(getenv('HTTPS') == '1')
in
includes/application_top.php
includes/functions/general.php
admin/index.php

2. The correct relative address html code for images using the dedicated ssl would be for example src="/images/logo_background_default.gif" with the '/' in the front.This is for either using your own html pages in the site or using the ever popular WYSIWYG HTML Editor which does not normally format the code in this way. Therefor you will need to manually change it.




-----------------------

I did not have to do step two. Seems 1and1 has some screwed up hosting settings. I think they are my cause of slowness on the overall site as well, crappy ass database server or webserver, not sure which is slowing things down yet.

Thanks for your help thou. Maybe at least this will help someone else in the future
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
Warning: exec() has been disabled for security reasons in prodigalyouth osCMax v1.7 Installation 3 03-02-2005 07:27 AM
https:// not quite doing it for me yet! ozstar osCMax v1.7 Discussion 11 06-16-2004 04:06 PM
https-problem springbank osCommerce 2.2 Installation Help 1 01-05-2004 09:31 AM
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 02:51 PM.


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