ONION Posted January 16, 2005 Posted January 16, 2005 Ok, i deleted a reinstalled the database manually as well as oscommerce, completely removing from the server then uploading again (talk about take time). everything has installed fine this time. except. not i cant get the SSL to work. in the first instal it was going to https://myshopetc but it was coming up as an untrusted crt as i had signed it myself. so i went to freeSSL and downloaded a temp free one to try out. now it says the site is not protected by SSL and each time to click to make an account it says page cannot be found. any ideas? http://www.vinylperfection.co.uk/catalog .htpasswords etc mail public_ftp public_html ssl temp is what the ftp looks like. the SSL crt is in the ssl folder. can it be moved and installed into the catalog? although it should automatically detect it shouldnt it?
boxtel Posted January 16, 2005 Posted January 16, 2005 Ok, i deleted a reinstalled the database manually as well as oscommerce, completely removing from the server then uploading again (talk about take time). everything has installed fine this time. except. not i cant get the SSL to work. in the first instal it was going to https://myshopetc but it was coming up as an untrusted crt as i had signed it myself. so i went to freeSSL and downloaded a temp free one to try out. now it says the site is not protected by SSL and each time to click to make an account it says page cannot be found. any ideas? http://www.vinylperfection.co.uk/catalog .htpasswords etc mail public_ftp public_html ssl temp is what the ftp looks like. the SSL crt is in the ssl folder. can it be moved and installed into the catalog? although it should automatically detect it shouldnt it? <{POST_SNAPBACK}> what does your configure.php look like ? Treasurer MFC
ONION Posted January 16, 2005 Author Posted January 16, 2005 what does your configure.php look like ? <{POST_SNAPBACK}> define('HTTP_SERVER', 'http://www.vinylperfection.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.vinylperfection.co.uk'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', ''); 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/'); 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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); 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', 'vinylper_osc1'); define('DB_SERVER_PASSWORD', '*********'); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?>
ONION Posted January 16, 2005 Author Posted January 16, 2005 just spotted that no products etc are showing up, even on the bog standard instal. :( really dont get whats going wrong here. its fine if i instal it without touching the ssl but goes tits up if i enable ssl. :(
boxtel Posted January 16, 2005 Posted January 16, 2005 define('HTTP_SERVER', 'http://www.vinylperfection.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.vinylperfection.co.uk'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', ''); 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/'); 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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); 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', 'vinylper_osc1'); define('DB_SERVER_PASSWORD', '*********'); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> <{POST_SNAPBACK}> these are all empty define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', ''); define('DIR_WS_HTTPS_CATALOG', ''); Treasurer MFC
ONION Posted January 16, 2005 Author Posted January 16, 2005 these are all empty define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', ''); define('DIR_WS_HTTPS_CATALOG', ''); <{POST_SNAPBACK}> any ideas what i need to put there?
Guest Posted January 16, 2005 Posted January 16, 2005 it all depends upon where you put your store files. go back thru the installation again and dont delete anything from the defaults oscommerce has.
ONION Posted January 16, 2005 Author Posted January 16, 2005 it all depends upon where you put your store files. go back thru the installation again and dont delete anything from the defaults oscommerce has. <{POST_SNAPBACK}> when i did the installation all the bits were already there i just click proceed. the store folders are in /catalog just a default setup basically. it all works with no SSL but put SSL to true and it all goes pete tong.
Guest Posted January 16, 2005 Posted January 16, 2005 means you have no ssl certificate installed on the server
Guest Posted January 16, 2005 Posted January 16, 2005 i just checked, your ssl certificate is invalid, so leave seel enabled to false
ONION Posted January 16, 2005 Author Posted January 16, 2005 i just checked, your ssl certificate is invalid, so leave seel enabled to false <{POST_SNAPBACK}> hmm, ok maybe you can help direct me then. in cpanel i made a key. then made a csr from that key. i then went to SSL and did the procedure of being sent a CRT (had to phone them etc) so the CRT should be valid. maybe ive done something wrong with the setup?
ONION Posted January 16, 2005 Author Posted January 16, 2005 hmm, ok maybe you can help direct me then. in cpanel i made a key. then made a csr from that key. i then went to SSL and did the procedure of being sent a CRT (had to phone them etc) so the CRT should be valid. maybe ive done something wrong with the setup? <{POST_SNAPBACK}> bugger, i think i know what i did. in the new instal i then went and made a new key and csr. but still used the crt freeSSL sent me. that would make it invalid. would that be the reason for all the errors? such as products not showing etc? or would an invalid crt just show up with the security warning?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.