Support
FAQs
E-Commerce
How to enable SSL on a current installation of OsCommerce? | How to enable SSL on a current installation of OsCommerce? |
|
|
|
I installed OsCommerce and I didin't enable the SSL when I installed it. How do I do that now for a private cert?
You need to turn SSL on in OsCommerce if you didn't set it up when installing it by editing /includes/configure.php and /admin/includes/configure.php define('HTTP_SERVER', 'http ://www.yourdomain.com'); // eg, http ://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https ://www.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', 'http ://www.yourdomain.com'); define('HTTPS_COOKIE_DOMAIN', 'https ://www.yourdomain.com'); define('HTTP_COOKIE_PATH', '/catalog'); define('HTTPS_COOKIE_PATH', '/catalog'); Change yourdomain.com to the exact domain name used for the SSL cert. If you did not use www for the cert, then do not add it here either. Change 'ENABLE_SSL' to true and 'HTTPS_COOKIE_PATH', if necessary, to the store's main folder. |
| < Prev | Next > |
|---|