Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

basic ssl question??


rhytha

Recommended Posts

Posted

hi guys i need some help here, I have alredy setup osc and customized and every things working fine and all that. I have just enabled SSL on my server, now i need to integrate osc with SSL or the other way around. I mean i don't want to start from install.php. All i need now is visitors go thru the relevant pages in https, i.e login.php, check_out.php etc. these pages should be in https and other pages with NONSSL.

 

where should i add what to enable SSL so that visitors access these pages in https ??

 

thanx in advance

 

8) rhytha

Posted

catalog/includes/configure.php

change

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

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

 

to

 

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

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

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Posted

thanx for the quick reply, mattice

 

 

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

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

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

 

 

this what alrady have in the configure.php. btw i have a ssl.conf directory in my root directory, will i have to copy any files in to this directory or something

Posted
'http:www

shouldn't that be http://www ?

 

Yes, you should copy several files to the shared ssl dir.

Don't know which ones (easiest will be ALL) as I don't use SHARED ssl.

But search the forums and you'll find enough on the subject.

 

HTH

.//attice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Posted
btw i have a ssl.conf directory in my root directory

 

That looked like shared to me? Anywayz.. what is / does the ssl.conf directory contain... is it in your root directory of your WEBSPACE ?

It might contain a configuration file from the file I talk about below:

 

If you are the owner of the server check your httpd.conf (talking Apache webserver on Linux here). Ussually in /usr/local/apache/conf/

See your SSL settings.. set it to be the same as your DocumentRoot for the domain osCommerce is running on. You will not have to shift anything around then, its the most ideal situation.

 

Regards,

mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Posted

mattice i have 2 files inside it. server.crt and server.key. 8)

 

if i copy my admin and catalog to this ssl.conf directory, then should i use something like this to get to my pages

 

ssl.conf/catalog/default.php

 

hey thanx for the answers :wink:

Archived

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

×
×
  • Create New...