ripthesystem Posted December 18, 2005 Posted December 18, 2005 Ok I own a reseller account and for one of the accounts on the server I need to get SSL working. I have bought an SSL via Godaddy and have it verified and I also have the CSR generated on the server, etc. In cPanel it lists an SSL installed on the server for this domain. For example purposes, the SSL certificate is for: www.pto.com I had www.pto.com installed and running fine without SSL but as soon as I installed SSL and changed the config.php around, I started getting 'Server Not Found' error pages at login and checkout, etc. I am guessing that I do not have my catalog/includes.php set up correctly, but I'm not sure. // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.pto.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.pto.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.pto.com'); define('HTTPS_COOKIE_DOMAIN', 'www.pto.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); This setup works fine, EXCEPT when I try to login or purchase something. Then the URL gets sent to: https://www.pto.com/login.php and I get a Cannot Find Server - This Page Cannot be Displayed error. If I go with my default configure.php then it works fine all the way through but isn't secure: here's my working default/non secure configure.php: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://pto.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'pto.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', ''); define('DIR_WS_IMAGES', 'images/'); Does anyone have any idea where I went wrong? I've spend all day searching these forums and nothing I try works at all!?
♥Vger Posted December 18, 2005 Posted December 18, 2005 There's no osCommerce site at that domain that I see - just an advertising page. Vger
ripthesystem Posted December 18, 2005 Author Posted December 18, 2005 For example purposes, the SSL certificate is for: www.pto.com sorry if I was misleading. I'm not allowed to divulge the URL to the public at this point so I was using PTO as an abbreviation for the the actual site name.
♥Vger Posted December 19, 2005 Posted December 19, 2005 We actually need to go to the domain to see what is wrong with an ssl install - without that there's nothing we can do. Vger
ripthesystem Posted December 19, 2005 Author Posted December 19, 2005 w*w.p*ssthem*ff.com/index.php As I said I cannot legally divulge the URL but if you can figure it out from what I have above I would be most appreciative.
♥Vger Posted December 19, 2005 Posted December 19, 2005 Check with your hosts to see if they use the two folder system - one folder for httpdocs and one for httpsdocs. If they do then you'll have to either get them to make a symbolic link between the httpsdocs folder and the httpdocs folder or else you'll have to duplicate all your files/folders in the httpsdocs folder (which is a pain). If you do have to duplicate files/folders then when you have it working correctly then you can remove the 'admin' folder from httpdocs. Vger
ripthesystem Posted December 19, 2005 Author Posted December 19, 2005 I use site5.com for the hosts and as I said I am a reseller there. They do not appear to use httpdocs and httpsdocs. In my base root folder for the site there is:
ripthesystem Posted December 19, 2005 Author Posted December 19, 2005 as followup so far, I have contacted the hosting company and it seems that I may have skipped a step in the installation process. I am in the process of validating that at the moment. Thanks for your help thus far VGER, it is very much appreciated! I will post regarding what happens now after I finish up with the hosing company. Thx again.
Jack_mcs Posted December 19, 2005 Posted December 19, 2005 Just a few thoughts. First, after installing the certificate, you have to restart apache. Since you are a reseller, you probably couldn't do that so that might be the problem. And second, if you go to https://www.pto.com the certificate should work if it is installed correctly. If it still fails, then the problem is not related to oscommerce. If the page does display, then it is most likely in the configuration. 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
ripthesystem Posted December 19, 2005 Author Posted December 19, 2005 Thanks! That fact alone answers a lot of questions. As soon as I get it to work with strictly "https://www.pto.com" then I'll move on to the oScommerce bit. For now I can't get that to work so I'll assume that it's something server related and proceed from that direction. Thanks again.
rankandfile Posted April 3, 2006 Posted April 3, 2006 Ripthesystem - Have you been able to find a solution to this problem yet? I am also hosted by Site5 and would like to know if I am going to have problems installing a SSL certificate as well.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.