osclover Posted March 10, 2006 Posted March 10, 2006 I don't know what exactly is meant by SSL Cert Generation. The problem is that i've a shared ssl certificate from a company. and I've a hosting account where oscommerce is set up. I modified the configure.php file in order to configure SSL over it. It doesn't work. The login.php, create_account.php and checkout_shipping.php page are not getting shown up when accessed via https. First I get a security warning and then when i click yes or not i get a 404 error. Also when i try accessing my site using https://www.my_site.com instead of http://www.my_site.com I'm taken to a different directory.....no oscommerce there. When i looked up at my ftp account, i do find an SSL directory lying up next to my public_html directory. What does this suggest? I've this idea that an sssl configured on an oscommerce site an only work properly if it has been installed at the domain first. So I feel the certificate is not yet "installed" on my hosting accout and/or my domain name. Am I right? In order to install it what should I do? I peeked into my cpanle account and opened the page called SSL MANAGER. I don't know what to do next. I would be grateful if someone could help in this regard. Thanks,
Jack_mcs Posted March 10, 2006 Posted March 10, 2006 If you are using your hosts shared cert, then all you need do is change your configure file to use it. You will need to get the correct url from your host. If you want to use a private ssl then that is whole different thing. Please clarify which you want and someone can help you from there. 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
osclover Posted March 10, 2006 Author Posted March 10, 2006 Its a shared SSL Certificate. I tried using the following configure.php settings but none of them works for me: define('HTTP_SERVER', 'http://www.worldofcds.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure83.websitewelcome.com/~tarheel'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.worldofcds.com'); define('HTTPS_COOKIE_DOMAIN', 'secure83.websitewelcome.com/~tarheel'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); 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/'); And on a second try I replaced the url 'https://secure83.websitewelcome.com/~tarheel' by 'https://www.worldofcds.com' in the configure.php but the problem remains the same. And then I also tried the following settings: <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.worldofcds.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure83.websitewelcome.com/~tarheel'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.worldofcds.com'); define('HTTPS_COOKIE_DOMAIN', 'secure83.websitewelcome.com/~tarheel'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/ssl/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/ssl/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); 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/'); Let me know if I need to explain anything else. Thanks, [/code]
Jack_mcs Posted March 11, 2006 Posted March 11, 2006 The first one is correct unless your host requires something else (like the ssl you have in the last one). Be sure you don't have a configure file in includes/local. Othere than that, it may be time to ask your host to explain what is needed. 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
osclover Posted March 11, 2006 Author Posted March 11, 2006 I don't have any file in includes/local except the Read_Me file. I'm contacting the hosts. I hope they'll be able to help out in this matter. Thanks for your time,
Guest Posted March 11, 2006 Posted March 11, 2006 its probably because your host requires separate directories for secure/non-secure content. The ssl directory seems empty. You should have the osc files there too.
pcshock Posted March 12, 2006 Posted March 12, 2006 Hi! I want to add question about SSL: I have linux hosting and oscommerce there but SSL server of my hosting is on different server and they call it SHARED SSL (if it matter - NT). What files I need to copy to SSL sever (if it possible to use such SSL)? pcshock
Jack_mcs Posted March 13, 2006 Posted March 13, 2006 For a shread ssl, you just need to change your includes/configure.php file to use it. The url for it will depend upon your host so you have to contact them for that. 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.