evank Posted August 9, 2004 Posted August 9, 2004 Is it possible to install an SSL cert after OScommerce is installed/configured and running. Thank you in advance, Evan.
wilson123 Posted August 9, 2004 Posted August 9, 2004 yep, simply re-run the installation again /catalog/install/install.php and uncheck "install test data" on the first page. Other than that check your /includes/configure.php & admin/includes/configure.php files and change the SSL line that reads "define('ENABLE_SSL', false); // secure webserver for checkout procedure?" to... define('ENABLE_SSL', true); // secure webserver for checkout procedure? and then proceed to enter the required information. Theoretically this works from reading this up on this forum, however I havent got it working on my site =(
bbw Posted August 10, 2004 Posted August 10, 2004 I'm about to do the same thing - already have all the kinks in the cart worked out, and have it looking like I want it to and am about to install a secure cert - keeping my fingers crossed. In the meantime, I'm reading about others' woes attempting to do this and this morning I found this thread which I'm keeping for future reference - see if it helps you guys: http://www.oscommerce.com/forums/index.php?showtopic=106224&hl= lemme know if it helps bbw
brianstorm Posted August 10, 2004 Posted August 10, 2004 Yes, it is possible, and I did it, but installing the certificate is a server operation and not part of OSC, although OSc needs to be configured to use SSL. SSL can be used without a certificate, you just get a warning of an invalid certificate when you go to the https:// side with ten thousand dollars we'll all be millionaires
bbw Posted August 19, 2004 Posted August 19, 2004 Well I tried it by hand by editing the configure.php in the catalog/admin/includes/ directory and the catalog/includes/ directory. I had no file in the folder catalog/admin/includes/local/ so I just worked with what I had to see what would happen. Have a separate directory for my ssl stuff, so I loaded EVERYTHING except for install to both. Everything works great up to the very last step on the checkout _success.php, when you click on the continue button, it takes you back to the catalog, but with the secure connection!. Now in my configure.php files, the ENABLE_SSL_CATALOG is set to false, and above that the HTTPS_CATALOG_SERVER is set to ' ' , and anywhere I can find a reference to the catalog, the settings reflect the non-secure path names etc. I also have my own cert, so there are no different url's and user names to deal with. Can someone point me in the right direction? I only want the catalog to be non-secure. When you start out in it non-secure, it converts to secure no problem but then it stays in the secure after you have completed the order. any clues? Thanks so much! bbw
remixstore Posted August 23, 2004 Posted August 23, 2004 so if you re-install it doesn't wipe all the settings, etc?
Guest Posted August 23, 2004 Posted August 23, 2004 so if you re-install it doesn't wipe all the settings, etc? i don't understand why you need to re-run the installation. All you have to do is edit the configure.php file, enable SSL and modify the url so it points to where the cert is installed
bbw Posted August 23, 2004 Posted August 23, 2004 That's all I did too - just edited those configure files by hand. didn't have to do the reinstall. But I need the continue button at the checkout success page to point back to the cart's home page in its non secure mode - I'm still trying to figure that one out. bbw
Recommended Posts
Archived
This topic is now archived and is closed to further replies.