Guest Posted April 30, 2006 Posted April 30, 2006 Why is ssl so difficult to activate? Just look at all the SSL posts reguarding, at least, just trying to get ssl activated. I know osc is free, but can't there be something added to the admin section to take care of this? It's not like this is an esoteric setting that only a few need to know about. As you've guessed, I'm one of those who can't get it to work. I am now looking for another store. I'll check back now and then to see if osc is ready for ssl without having to screw with 2 config files.
♥Vger Posted April 30, 2006 Posted April 30, 2006 You can't just "activate" ssl. You have to have an SSL certificate, either shared or full, before you can use SSL for your store. If you have a full certificate then in 99% of all cases it's dead easy. You just tick the box to enable ssl when you run the install, or else you easily redo the two configure.php files after you have installed (if the cert is bought later). It's not possible to use the Enable SSL tickbox for a shared SSL because shared SSL paths are different according to your hosting setup and nothing to do with osCommerce. Vger
Guest Posted April 30, 2006 Posted April 30, 2006 You can't just "activate" ssl. You have to have an SSL certificate, either shared or full, before you can use SSL for your store. If you have a full certificate then in 99% of all cases it's dead easy. You just tick the box to enable ssl when you run the install, or else you easily redo the two configure.php files after you have installed (if the cert is bought later). It's not possible to use the Enable SSL tickbox for a shared SSL because shared SSL paths are different according to your hosting setup and nothing to do with osCommerce. Vger I have a shared cert. I still think that there could be the Enable SSL tickbox as well as the textbox for the path, with maybe an example of what the path should look like. It's just a pain having to shotgun the settings onl to be slowed up by edit, ftp upload over and over til it's right. (which mine still isn't) Thanks for the response though.
cdamianou Posted May 2, 2006 Posted May 2, 2006 I have a full ssl certificate. I went into both configure.php files and turned ssl from false to true, but still the https: site looks very obscure, images are missing. Not sure what else needs to be done.
Jack_mcs Posted May 2, 2006 Posted May 2, 2006 I have a shared cert.I still think that there could be the Enable SSL tickbox as well as the textbox for the path, with maybe an example of what the path should look like. It's just a pain having to shotgun the settings onl to be slowed up by edit, ftp upload over and over til it's right. (which mine still isn't) Thanks for the response though. For security reasons, the configure file can't be written to so a checkbox wouldn't work. If you search the forums for a line from the configure file, you'll probably get a few thousand hits so there is no shrtage of examples as to how to set them up. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Jack_mcs Posted May 2, 2006 Posted May 2, 2006 I have a full ssl certificate. I went into both configure.php files and turned ssl from false to true, but still the https: site looks very obscure, images are missing. Not sure what else needs to be done. The cookie path is probably not set. Try posting your configure file here, minus sensitive data, so someone can take a look at it. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
cdamianou Posted May 2, 2006 Posted May 2, 2006 Jack_mcs here is a copy of both configure files. Includes/Configure.php // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.website'); // eg, http://localhost - should not be NULL for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_FS_DOCUMENT_ROOT', 'D:/website.co.uk/wwwroot/'); define('DIR_FS_CATALOG', 'D:/website.co.uk/wwwroot/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_SPG_SHIPPING', DIR_WS_MODULES . 'spg_shipping/'); // define our database connection define('DB_SERVER', 'HYDROGEN'); // eg, localhost - should not be NULL for productive servers define('DB_SERVER_USERNAME', '******'); define('DB_SERVER_PASSWORD', '******'); define('DB_DATABASE', '****'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' Admin/Includes/Configure.php // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.website.co.uk'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'https://www.website.co.uk'); // eg, https://localhost - should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://www.website.co.uk'); define('HTTPS_CATALOG_SERVER', 'https://www.website.co.uk'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'D:/website.co.uk/wwwroot/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', 'D:/website.co.uk/wwwroot/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', 'D:/website.co.uk/wwwroot/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_WS_SPG_SHIPPING', DIR_WS_MODULES . 'spg_shipping/'); // define our database connection define('DB_SERVER', 'HYDROGEN'); // eg, localhost - should not be NULL for productive servers define('DB_SERVER_USERNAME', '******'); define('DB_SERVER_PASSWORD', '*****'); define('DB_DATABASE', '*****'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
♥Vger Posted May 3, 2006 Posted May 3, 2006 Your includes/configure.php file is not an osCommerce configure.php file - but even so half of it is missing. Vger
Recommended Posts
Archived
This topic is now archived and is closed to further replies.