This is a discussion on ssl within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hi, wonder if any one can help this new boy. os works fine except for ssl the secure box comes ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi, wonder if any one can help this new boy. os works fine except for ssl the secure box comes up but then the page can't be viewed. Done all I can think of over the last week. Thinking of finding a tall building to jump off. any ideas? peter |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| Hi Peter, Can you paste in your url so that we could look and see what causes your error, mostly, it is path issue that causes this error, some "not so popular" ssl certificate seller will register your site certificate like this https://yourdomain.com and will not work if you do https://www.yourdomain.com, not many but there are some that does that, also, you might be using a shared ssl certificate similar to powweb users where you need to look at the correct path to your domain. If you can also put in the top portion of your configure.php where it includes the https and http server configuration. Paul |
|
#3
| |||
| |||
| Hi thanks for your help Paul. It's www.aabix.com this is catalog define('HTTP_SERVER', 'http://aabix.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://aabix.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'aabix.com'); define('HTTPS_COOKIE_DOMAIN', 'aabix.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/aabix/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 NULL for productive servers define('DB_SERVER_USERNAME', 'aabix_osc1'); define('DB_SERVER_PASSWORD', '[xxxxxxxxx'); define('DB_DATABASE', 'aabix_osc1'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> this is admin ?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://aabix.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://aabix.com'); define('HTTPS_CATALOG_SERVER', 'https://aabix.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/aabix/public_html/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/aabix/public_html/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/home/aabix/public_html/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'aabix_osc1'); define('DB_SERVER_PASSWORD', '[xxxxxxxxxx'); define('DB_DATABASE', 'aabix_osc1'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> What do you think? |
|
#4
| |||
| |||
| Hi Peter, One question, did you purchase an ssl certificate so that you can run an ssl site? it seems that your domain do not have an ssl certificate, this is purchased separate from your domain. There is a lot of site selling ssl certificate for you to install in your site control panel, one of the cheapest I saw on the net is http://www.xramp.com. If you do not have an ssl certificate and do not wish to purchase one at all, define False on these portions; (change true to false) Cart: define('ENABLE_SSL', true); // secure web server for checkout procedure? Admin: define('ENABLE_SSL_CATALOG', 'true'); // secure web server for catalog module Paul |
|
#5
| |||
| |||
| Hi Paul I made my own cert from the c/panel I know that I must buy one to trade but I was told this would be fine for testing. Could it be in the wrong place? Pete |
|
#6
| |||
| |||
| Hi Peter, I am not quite sure how your server is configured but there are webhosting that expires the certificate once the page is closed, there are also webhosting services that will allow you to use it like this https://www.yourhostingcompany.com/~yourusername, also, it maybe that your hosting company does not have openssl or any ssl thingy installed on their servers, you will need to confirm this with your host on how they do temporary ssl certificates. It is not an oscommerce issue as I look at it, but merely a webhosting issue. Paul |
|
#7
| |||
| |||
| Cheers Paul. Pete |
| Sponsored Links | ||
| ||
| |