gamegeek Posted February 25, 2003 Share Posted February 25, 2003 Hi, I am hosting my website with 2globalmart.com. I installed OSC and have been trying to install Trial SSL Certificate from Comodo. They sent me 3 certs, mydomain_com.crt, GTECyberTrustRoot.crt and ComodoSecurityServicesCA.crt but didn't tell me how to install them. My web host gave me the following page with instruction on how to install but I don't know what number 15, "Certificate Chain File" is. I asked them and they also don't know. I searched through the forum but couldn't find the answer. Does anyone know what it is? I have the following files when I generated temporary SSL Cert. Which file is the one I should paste in the box of "Certificate Chain File"? SSL Certificate Signing Request SSL Server Private Key Temporary SSL certificate http://2globalmart.com/multiple-domain-hos...enu/comodo.html Server software type: OpenSSL on Hsphere. --------------------------------------------------- 2nd question... I have another question regarding SSL configuration. I searched through the forum and know that I need to enable SSL in configure.php of Admin and Catalog but I don't know which line I should modify so that SSL will appear on the pages I want. For example, I want to have SSL on login.php, create_account.php and checkout_payment.php, which line do I need to enter these file names in and how to separate them (with , or .)? I appreciate all your help and best wishes to your businesses. Jay Link to comment Share on other sites More sharing options...
probiz Posted February 25, 2003 Share Posted February 25, 2003 Hi, I am hosting my website with 2globalmart.com. I installed OSC and have been trying to install Trial SSL Certificate from Comodo. They sent me 3 certs, mydomain_com.crt, GTECyberTrustRoot.crt and ComodoSecurityServicesCA.crt but didn't tell me how to install them. My web host gave me the following page with instruction on how to install but I don't know what number 15, "Certificate Chain File" is. I asked them and they also don't know. I searched through the forum but couldn't find the answer. Does anyone know what it is? I have the following files when I generated temporary SSL Cert. Which file is the one I should paste in the box of "Certificate Chain File"? SSL Certificate Signing Request SSL Server Private Key Temporary SSL certificate http://2globalmart.com/multiple-domain-hos...enu/comodo.html Server software type: OpenSSL on Hsphere. --------------------------------------------------- 2nd question... I have another question regarding SSL configuration. I searched through the forum and know that I need to enable SSL in configure.php of Admin and Catalog but I don't know which line I should modify so that SSL will appear on the pages I want. For example, I want to have SSL on login.php, create_account.php and checkout_payment.php, which line do I need to enter these file names in and how to separate them (with , or .)? I appreciate all your help and best wishes to your businesses. Jay Link to comment Share on other sites More sharing options...
Huy Posted February 25, 2003 Share Posted February 25, 2003 To answer question #2, all you have to do to enable SSL is enter the secure site name in configure.php in both catalog and admin. Then you then set enable it to use SSL by changing the filed from 'false' to 'true'. It'll automatically take care of those pages that you need to be secure. Link to comment Share on other sites More sharing options...
probiz Posted February 25, 2003 Share Posted February 25, 2003 Does anyone know how to setup the SSL to work with OSC? I have tried to enable the SSL in the Config.php in the catalog/includes and in the admin/includes... and still not go. I want it to activate when the user goes to checkout and for admin. help help help... If anyone can send me a sample of how they set their site up to work. Link to comment Share on other sites More sharing options...
gamegeek Posted February 25, 2003 Author Share Posted February 25, 2003 To answer question #2, all you have to do to enable SSL is enter the secure site name in configure.php in both catalog and admin. Then you then set enable it to use SSL by changing the filed from 'false' to 'true'. It'll automatically take care of those pages that you need to be secure. Thank you for your reply, Huy. Can you take a look at the following codes and tell me if they are correct? Do I need to enable SSL in login.php, create_account.php, etc? Note: My site is not ready yet so mydomain.com is a substitution of my real domain name. Admin/includes/configure.php define('HTTP_SERVER', 'http://mydomain.com'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'https://mydomain.com/admin/'); // eg, https://localhost - should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://mydomain.com'); define('HTTPS_CATALOG_SERVER', 'https://mydomain.com/admin/'); define('ENABLE_SSL', 'true'); // secure webserver for administration tool Catalog/includes/configure.php define('HTTP_SERVER', 'http://mydomain.com'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'https://mydomain.com/catalog/'); // eg, https://localhost - should not be NULL for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? Link to comment Share on other sites More sharing options...
Huy Posted February 25, 2003 Share Posted February 25, 2003 For your https field, I see that you have added an extra /catalog after your domain. You don't need that. All I needed to do was enter the same thing as you had done in your http field. These are the only two files you will need to update in order to use your SSL cert. Link to comment Share on other sites More sharing options...
probiz Posted February 26, 2003 Share Posted February 26, 2003 I have been killing myself with this SSL. :shock: Tried to enable SSL in configure.php in both catalog and admin by changing the filed from 'false' to 'true'. It'll automatically take care of those pages that you need to be secure. Does not work. I launch the site will SSL and when I click checkout, it turns it off. Anyway else of this issue. Link to comment Share on other sites More sharing options...
Huy Posted February 26, 2003 Share Posted February 26, 2003 I'm not a SSL whiz, but I'll try to help out if I can. My webhost installed the SSL certificate for me. At first, it didn't work properly because they forgot to restart the webserver. To test your site, if you type in https://www.yoursite.com it should come up. If that doesn't work, then your SSL isn't configured properly. I'm sure if you dig in the previous postings about SSL, you'll discover that enabling SSL requires only two things. Let me re-hash my instructions, if I wasn't clear the first time around. In the define(HTTP_SERVER) part, enter your website's address. Then in the define(HTTPS_SERVER) part, enter the same address (or whatever address your webhost has specified to you as the secure address. It may be of the form secure.yoursite.com instead). Then, change (ENABLE_SSL) to true instead of false. Do this for the admin portion as well. Link to comment Share on other sites More sharing options...
probiz Posted February 26, 2003 Share Posted February 26, 2003 Thanks for replying and trying to help. I tried https://www.yoursite.com and it works fine.However, when I go to checkout it goes back to http://www.yoursite.com format and unsecured. My Secure cert works fine as it was used with another e-commerce app. Well, I will keep trying, however if there is anyone else out there that has had the same issue. let me know.. Thanks Again for your support. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.