Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Got SSL, how do I enable with osCommerce?


Guest

Recommended Posts

Posted

I have my store almost fully up and running. I just purchased a SSL and got it installed on my host with dedicated ip address. I tested with "https://" infront of my URL and made a index.html test page in the private_html folder and it worked!

 

Now, how do I enable SSL within osCommerce? I looked in catalog\includes\configure.php and have the following:

 

  define('HTTP_SERVER', 'http://www.<domainremoved>.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.<domainremoved>.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.<domainremoved>.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.<domainremoved>.com');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');

 

I see that Enable_ssl is set to true, but in the admin section of osCommerce it is saying that I am not protected by a secure SSL connection. Did I set this up wrong? Wrong file? Any help would be greatly apprecaited!

Posted
I have my store almost fully up and running. I just purchased a SSL and got it installed on my host with dedicated ip address. I tested with "https://" infront of my URL and made a index.html test page in the private_html folder and it worked!

 

Now, how do I enable SSL within osCommerce? I looked in catalog\includes\configure.php and have the following:

 

  define('HTTP_SERVER', 'http://www.<domainremoved>.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.<domainremoved>.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.<domainremoved>.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.<domainremoved>.com');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');

 

 

 

I see that Enable_ssl is set to true, but in the admin section of osCommerce it is saying that I am not protected by a secure SSL connection. Did I set this up wrong? Wrong file? Any help would be greatly apprecaited!

 

Set your first http: define in your admin/includes/configure.php file to your secure path

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

I noticed that when I go to checkout on my cart now, it is trying to use the HTTPS://www<domain>com

 

However, other than that index.html (for testing purposes) there is nothing else in the "private_html" folder.

 

 

Can someone specify exactly what I need in the private_html folder to properly operate as far as admin section goes AND catalog (checking out process) goes.

Archived

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

×
×
  • Create New...