Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Configuring for SSL after install?


gritz

Recommended Posts

Posted

just a simple question, but I couldn't find it in the KB or forums ... when I first set up the software to test it out and explore, I set it for non-SSL, even though there is a shared SSL with my hosting account. (Needed to get the SSL info from my ISP.) Now I have the info and would like to switch SSL on ... but I can't find anywhere in the admin area or the config files to put the info in for SSL support.

 

Do I need to completely re-install? Or can someone point me to a KB article / forum post / config file where I can do this?

 

am I missing something obvious?

 

thanks for the help....

 

GRitz

Posted

what do we change ? I tried to just change the ENABLE_SSL from 'false to 'true but still no go...

 

Search is normally my friend --- but have not found anything yet to help me on this one...

 

 

would it be

define('ENABLE_SSL', thedomainname.com);

 

// Define the webserver and path parameters

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

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

define('HTTP_SERVER', 'http://thedomainname.com');

define('HTTPS_SERVER', 'https://thedomainname.com');

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

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

define('HTTPS_COOKIE_DOMAIN', 'thedomainname.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/shop/');

define('DIR_WS_HTTPS_CATALOG', '/shop/');

define('DIR_WS_IMAGES', '/shop/images/');

define('DIR_WS_ICONS', '/shop/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/');

Posted

set it to true then change the define('HTTPS_SERVER', 'https://thedomainname.com'); it will be your servers name so ask them it will also start with https. when it is all configured-- then go to create accounts or checkout and look to see if the address bar changes to the servers name and in IE you will get a padlock --lower right info bar make sure you have the info/status bar enabled under the view toolbar in IE.

 

It will switch back and forth SSL will kick in when you go to pages that require info.

Archived

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

×
×
  • Create New...