Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Enabling shared SSL with OSCommerce


Recommended Posts

It is my understanding that osCommerce has a built in feature to

support shared SSL.


When this feature is configured properly, osCommerce will automatically switch to using the secure "https" web addresses for the checkout procedure.


I understand that I need to update configuration files to enable this feature:



For example I understand that in /catalog/includes/configure.php, I need to:




define('HTTPS_SERVER', '')


to the right value for my SSL.


But I'm not sure exactly what to do with this Line.


Presently, the Line in that file looks like this:


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


Can someone give me an example of how I would "Set the right value for my SSL"?


My web host told me:


"You'll need to direct people to your shopping cart url using the shared

ssl url. For example, if the link to the checkout is

http://website.com/checkout.php , you'll need to send visitors to

https://cobalt.webhost.com/website.com/checkout.php when they

click on the checkout button. This will switch visitors to the ssl conenction

for the checkout procedure."


Yet, I still don't know how to edit the configuration files to accomplish this.


Can someone please help me by giving me an example of how I would "Set the right value for my SSL"? in the configuration file?


Thanks so much. I look forward to your reply.

Link to comment
Share on other sites


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

  • Create New...