Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing from shared ssl to dedicated ssl


Guest

Recommended Posts

Hi all.

I am currently setting up an OSC site for my company. We have quite a few products and I'm running into some snags that is going to require a considerable amount of time invested into just getting the new site with OSC properly set up.

 

When I installed OSC, I specified the SSL as a shared SSL as that is what my server offers for free. However, when I do make the final transition, I will be purchasing a dedicated SSL, which I am planning to do when I transfer my domain name information to the new server. My question is, how difficult is it to configure OSC after the installation process to use the dedicated SSL? Is it just a matter of changing the values in the config.php files?

 

Also, I'm discovering that I if I add products to my shopping cart, they appear in the shopping cart, but don't show up when I try to checkout. (After the sign-in prompt, the site proceeds to the checkout, but says I don't have anything in my Shopping Cart. If I click on Cart Contents, the item is there, but if I try to check out again, the site returns me to the sign-in page.

I have no problems creating a new user, but I can't place a review for items.

Could the Shared SSL be to blame?

 

Thanks in advance for any help you can offer.

Link to comment
Share on other sites

The 2 configure.php files are indeed all that need to be modified when you make the switch from shared SSL to dedicated SSL.

 

Using a shared SSL will cause you a lot of unnecessary problems and if at all possible I recommend getting your dedicated SSL ASAP. I recommend http://www.instantssl.com for quick and cheap SSL certs that are problem free.

 

Your second problem is indeed due to the use of the shared SSL. It sounds like the session information is not being passed to the SSL server. Check the settings in your configure.php files to verify they are correct. You may also want to search the wiki and this forum for "shared ssl" for some tips for the proper setup.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Link to comment
Share on other sites

thanks for the replies.

 

The site isn't currently in production at the moment so the shared SSL isn't a problem other than it won't work to test.

If it doesn't require too much modifying, it would be nice to have it working temporarily.

 

Here is my configure.php file:

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 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', 'http://s185111225.onlinehome.us'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://ssl.perfora.net'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 's185111225.onlinehome.us');
 define('HTTPS_COOKIE_DOMAIN', 's185111225.onlinehome.us');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '/s185111225.onlinehome.us/');
 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', 'EDITED OUT');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
 define('DB_SERVER', 'EDITED OUT'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'EDITED OUT');
 define('DB_SERVER_PASSWORD', 'EDITED OUT');
 define('DB_DATABASE', 'EDITED OUT');
 define('USE_PCONNECT', 'true'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...