OsCommerce can be setup with a shared or a dedicated SSL certificate to help protect your customer's personal information.
1. Locate your configure.php file in your shopping cart folder which is in the includes folder, for example: /public_html/cart/includes/configure.php
2. Open the file and find this series of code:
define('HTTP_SERVER', 'http://yourdomain.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://yourdomain.com'); // eg, https://localhost - should not be empty for productive servers define
('ENABLE_SSL', true); // secure webserver for checkout procedure? define
('HTTP_COOKIE_DOMAIN', 'yourdomain.com'); define
('HTTPS_COOKIE_DOMAIN', 'yourdomain.com')
3. You will need to modify the HTTPS_SERVER and HTTPS_COOKIE_DOMAIN fields with your account information, and change ENABLE_SSL to "true." The format is as follows:
https://securexx.webhostinghub.com/~username
4. Save the file, and your cart is now configured to use the shared SSL.
Dedicated SSL certificates are set up the same as the shared SSL, but you will use your domain name instead of the server name. In the example below I have used Web Hosting Hub's website:
define('HTTP_SERVER', 'http://webhostinghub.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://webhostinghub.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'yourdomain.com');
define('HTTPS_COOKIE_DOMAIN', 'webhostinghub.com')
4. Save the file, and your cart is now configured to use a dedicated SSL.
Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
---|---|---|---|
Call: | 757-416-6627 | Chat: | Click To Chat Now |
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!