taketools Posted January 12, 2010 Share Posted January 12, 2010 hello i am new to oscommerce i uploaded a website to www.taketools.com but have this warning when i click my account: www.taketools.com uses an invalid security certificate. The certificate is only valid for south.host-care.com (Error code: ssl_error_bad_cert_domain) i use a shared SSL certificate https://south.host-care.com/~taketool/ can any one give me a step by step guide, to fixing this problem (do i edit the configure file in both admin and includes and which part?) many thanks below is a part copy of the configure file <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 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.taketools.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.taketools.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.taketools.com'); define('HTTPS_COOKIE_DOMAIN', 'www.taketools.com'); 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/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/taketool/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'hidden'); define('DB_SERVER_PASSWORD', 'hidden'); define('DB_DATABASE', 'hidden'); define('USE_PCONNECT', 'true'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted January 12, 2010 Share Posted January 12, 2010 How long as this been happening. It takes your host about a week to add your domain to the list of valid domains on the shared ssl cert. If it persists talk to your host. It is not an OSC issue. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
taketools Posted January 12, 2010 Author Share Posted January 12, 2010 How long as this been happening. It takes your host about a week to add your domain to the list of valid domains on the shared ssl cert. If it persists talk to your host. It is not an OSC issue. less then a week thanks for your reply i will wait a week and see what happen Link to comment Share on other sites More sharing options...
germ Posted January 12, 2010 Share Posted January 12, 2010 If you're using shared SSL neither one of these are correct: define('HTTPS_SERVER', 'https://www.taketools.com'); // eg, https://localhost - should not be empty for productive servers define('HTTPS_COOKIE_DOMAIN', 'www.taketools.com'); If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
taketools Posted January 13, 2010 Author Share Posted January 13, 2010 If you're using shared SSL neither one of these are correct: define('HTTPS_SERVER', 'https://www.taketools.com'); // eg, https://localhost - should not be empty for productive servers define('HTTPS_COOKIE_DOMAIN', 'www.taketools.com'); should i change them to https://south.host-care.com/~taketool/ and in both configure files ? Link to comment Share on other sites More sharing options...
germ Posted January 13, 2010 Share Posted January 13, 2010 should i change them to https://south.host-care.com/~taketool/ and in both configure files ? I'd try this: define('HTTPS_SERVER', 'https://south.host-care.com'); // eg, https://localhost - should not be empty for productive servers define('HTTPS_COOKIE_DOMAIN', '.south.host-care.com'); If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
taketools Posted January 13, 2010 Author Share Posted January 13, 2010 I'd try this: define('HTTPS_SERVER', 'https://south.host-care.com'); // eg, https://localhost - should not be empty for productive servers define('HTTPS_COOKIE_DOMAIN', '.south.host-care.com'); thanks a million it works i used https://south.host-care.com/~taketool/ any one with same problem all you got to do is change the configure file in public_html> includes> change 'HTTPS_server' and HTTPS_cookie_Domain' to you url of ssl certificate Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted January 13, 2010 Share Posted January 13, 2010 thanks a million it works i used https://south.host-care.com/~taketool/ any one with same problem all you got to do is change the configure file in public_html> includes> change 'HTTPS_server' and HTTPS_cookie_Domain' to you url of ssl certificate Glad it worked for you. I misunderstood and thought you were using a multi-domain certificate. Shared certificates are horribly outdated and should no longer be used except for related company pages. As you can see you completely lost your domain identity when it goes to ssl. I'd find a host that uses multi-domain certificates. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
taketools Posted January 13, 2010 Author Share Posted January 13, 2010 Glad it worked for you. I misunderstood and thought you were using a multi-domain certificate. Shared certificates are horribly outdated and should no longer be used except for related company pages. As you can see you completely lost your domain identity when it goes to ssl. I'd find a host that uses multi-domain certificates. your right it does lose domain identity i guess i choose the wrong hosting company thanks for your comment its good to know there are people out there who help for free Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.