Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Configuration


kwgeorge

Recommended Posts

Posted

I can't seem to get the SSL configuration to work for my checkout.

 

I don't have my own certificate but the host lets me use theirs. If I manually enter "https" for URL with osCommerce it works fine (with the warning about a shared certificate).

 

But I can't get it to go to https on its own.

 

I've change the setting in /catalog/includes/config.php to say "true" for SSL

 

What else do I need to do?

 

Many thanks for your help.

 

George

Posted

You need to add the https server path and https catalog path in the same file you edited.

 

Matti

Posted
You need to add the https server path and https catalog path in the same file you edited.

 

Matti

 

Thanks, Matti.

 

I now have the following in my /catalog/includes/config.php file. Still doesn't work. Do I need to add something more?

 

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

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

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

Posted

Yes, you need to add your own server paths (not localhost) the https catalog path, cookie path, cookie domain

Archived

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

×
×
  • Create New...