Guest Posted January 12, 2005 Posted January 12, 2005 I'm having a problem with my private SSL. I'm getting a warning that the name doesn't match the name on my certificate. I don't get the warning when I enter https://www.fenders-for-boats.com/, but when I go to a page inside of my osCommerce store that automatically goes to https (such as https://fenders-for-boats.com/marine-supplies/login.php) I do get the error. Any ideas? Also, how do I get find the folder to put my images in so that I don't get the message about "unsecure items on this page?" I've looked in my root, and in my cpanel in case I'm missing something, but I don't see any special folder for https/ssl items. Thanks, Tina
Guest Posted January 12, 2005 Posted January 12, 2005 oh yeah... because I know I'll be asked for it, here's my configure.php file <?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://fenders-for-boats.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://fenders-for-boats.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'fenders-for-boats.com'); define('HTTPS_COOKIE_DOMAIN', 'fenders-for-boats.com'); define('HTTP_COOKIE_PATH', '/marine-supplies/'); define('HTTPS_COOKIE_PATH', '/marine-supplies/'); define('DIR_WS_HTTP_CATALOG', '/marine-supplies/'); define('DIR_WS_HTTPS_CATALOG', '/marine-supplies/'); define('DIR_WS_IMAGES', 'https://www.fenders-for-boats.com/marine-supplies/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/superior/public_html/marine-supplies/'); 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 NULL for productive servers define('DB_SERVER_USERNAME', 'XXXXXX'); define('DB_SERVER_PASSWORD', 'XXXXXX'); define('DB_DATABASE', 'XXXXX'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?>
Guest Posted January 12, 2005 Posted January 12, 2005 Found the answer . In the configuration file I had to change the defines from 'fenders-for-boats.com' to 'www.fenders-for-boats.com' because I purchased the certificate with the name www.fenders-for-boats.com. I still don't have the admin section working. Any ideas on that one? If I manually enter the 's' in 'https' it works, but it automatically defaults to 'http' Thanks, Tina
Guest Posted January 12, 2005 Posted January 12, 2005 the top http_server line in the admin configure.php set to https://www.domain.com
Recommended Posts
Archived
This topic is now archived and is closed to further replies.