Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL issue - really need help


vichon

Recommended Posts

I am really stuck here and would like some help with getting my SSL working properly. I've been reading the forums for a few days and have posted elsewhere with no avail. I am somewhat new to OSC and am working in a test environment. Here is the scenario:

 

I have a test server running FC5 and using Ravencore to setup virtual hosts for my clients.

I have installed OSC and it works great in standard HTTP mode.

 

I created a self signed certificate (for testing purposes) for alextechstore.com . I want people to type www.alextechstore.com or alextechstore.com and have it automatically go to the catalog. However here is what happens -

 

Regardless of how they hit the site, they first get an SSL prompt which states (in addition to the unverified trust CA which I realize is because this is a selfsigned cert - I'm ignoring that error at the initial prompt) the machine name is wrong. That is strange because I get that regardless of whether or not I select www. or go straight in (without www).

 

Then, I get about 20 cert prompts - which say the machine name is correct (so they are prompting me for the Trusted CA). I suppose if I add my machine as the the trusted CA - that will go away - but I'm curious about why when I say Yes I accept it,I am prompted repeatedly again. From what I've read, this is all the images loading - however if I say yes I accept it, why am my re-prompted. The cert is the same.

 

 

Here are the particulars:

 

include/configure.php:

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'https://alextechstore.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://alextechstore.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'alextechstore.com');

define('HTTPS_COOKIE_DOMAIN', 'alextechstore.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/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

Any thoughts are appreciated - I have been working on this for 2 - 3 days and need to move forward to the contribs.

Link to comment
Share on other sites

Are you using a redirect thats taking you from alextechstore.com to https://www.alextechstore.com/catalog. It looks like you need to remove the www on your redirect.

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Link to comment
Share on other sites

No problem ;) I know it can be tuff when your frustraited.

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...