Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Setup


david

Recommended Posts

Posted

Hello

 

Has anyone here successfully setup SSL on a oscommerce site? If so how did you do it? and what cert did you use? :D

 

I am having trouble finding a working example where if one clicks on the "checkout" link then the page automatically switches to https:// from http://

 

I have made the suggested changes in the admin and catalog config files, but still cannot get that https:// to appear automatically on the checkout link. Only way is if it is manually entered which is obviously not the right way!

 

thanks

David

 

PS. is there some other files that need editing in addition to the two config ones? :?: :?: :?:

Posted

There are 2 changes that need to be made to your catalog/includes/configure.php file:

 

1. HTTPS_SERVER needs to be https://www.yourdomain.com (note the s at the end of the protocol).

2. ENABLE_SSL has to be set to true.

 

If both of the above are set properly then the checkout process will automatically switch to SSL mode when entered.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

thanks Daemonj ...but like i say i have done this alreday.

 

Could it be something in the 2 "local" config files that are conflicting? and/or do i have to add those lines to those 2 files also?

Posted
thanks Daemonj  ...but like i say i have done this alreday.  

 

Could it be something in the 2 "local" config files that are conflicting? and/or do i have to add those lines to those 2 files also?

I have to admit that I do not understand your post.

 

The only 2 "local" config files that I can think of are the catalog/includes/configure.php and admin/includes/configure.php files. These were mentioned in my previous post so I am at a loss as to what other files you might mean. Could you please elaborate for me?

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

I have 4 config files?

 

i also have catalog/includes/local/config.php and admin/includes/local/config.php

 

I made some change to the cataloag local one and that has fix 50% of my problem. Now half my images wont load but checkout etc is SSL

 

I still cant get Admin to automatically be https:// eg. the SSL lock etc. to display on the main Admin page. I can only do it my manually entering.

 

Is the standard or is it suppose to be https for Admin?

Posted
Hello

 

Has anyone here successfully setup SSL on a oscommerce site? If so how did you do it? and what cert did you use? :D

 

I am having trouble finding a working example where if one clicks on the "checkout" link then the page automatically switches to https:// from http://

 

I have made the suggested changes in the admin and catalog config files, but still cannot get that https:// to appear automatically on the checkout link. Only way is if it is manually entered which is obviously not the right way!

 

thanks

David

PS. is there some other files that need editing in addition to the two config ones? :?: :?: :?:

 

Go to my site www.discountmagazinehouse.com

 

It still is in test sage

 

When you registar for a account the SSL is on

 

When you check out SSL is on

 

 

Jeff

www.discountmagazinehouse.com

Posted

Thx Jeff

 

Still got some hair left and feeling happier :D ...images all work, https:// checkout works BUT still cant get Admin to be https???

 

Is Admin main page SUPPOSE to go auto to https on the main page or am I misuderstanding WHY there is a box with a note about whether ssl or Non ssl?? Pls explain someone thx

 

I also would like to know why all of a sudden my session iDs are back :-(

 

Again, is there something i need to edit to get rid of them? in http:// no problem they are all gone!

 

David

Posted

No, admin will not automatically go into SSL.

 

The first thing you need to do is edit your admin/includes/configure.php file and edit the first entry:

  define('HTTP_SERVER', 'https://111.11.111.11');

to use the https protocol.

 

You then need to request the admin panel in your browser's address bar using https.

 

Then you should be good to go.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted
No, admin will not automatically go into SSL.

 

The first thing you need to do is edit your admin/includes/configure.php file and edit the first entry:

  define('HTTP_SERVER', 'https://111.11.111.11');

to use the https protocol.

 

You then need to request the admin panel in your browser's address bar using https.

 

Then you should be good to go.

 

Does having your Admin in SSL mode slow down updating to your products compared to not having SSL on the Admin side?

 

Jeff

 

www.discountmagazinehouse.com

Posted

Most definitely because everything is getting encrypted/decrypted.

 

Then again, it is better to be slow and have all of your information and your customer's information safe. ;)

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted
Most definitely because everything is getting encrypted/decrypted.

 

Then again, it is better to be slow and have all of your information and your customer's information safe. ;)

 

Thanks

 

I thought about taking away the SSL while I finish my updating before I go live

 

Jeff

Posted

thx Jim

 

So its like i thought, u DO need to manually type in the https:// bit into the browser for the fancy SSL padlock (on the admin index page) to show closed. Is that right?

 

Cheers

David

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...