Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recognizing SSL!


Guest

Recommended Posts

Self issued SSL cert installed and confirmed working.

I installed oSC to use SSL from the dropdown menu

and confirmed the site's name in the next box.

Clicking install only sets up to use http:// and not

https:// as I need.

 

I can type https:// manually in the address bar and this works

but then clicking a link in the shopping cart gives http:// pages!

How do I configure the shopping cart to use https:// totally?

 

I can find loads of questions on this subject, but can't find a solution.

Can someboby tell me?

 

Cheers

Link to comment
Share on other sites

go to your /includes/configure.php file and enable SSL:

 

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

 

Also remember to edit all the other HTTPS related parameters in configure.php

Link to comment
Share on other sites

go to your /includes/configure.php file and enable SSL:

 

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

 

Also remember to edit all the other HTTPS related parameters in configure.php

 

Thanks. Got it.

All fixed and ready to go!

Link to comment
Share on other sites

  • 4 weeks later...
For future reference - when you run the install of osCommerce there's a small tick box for SSL - tick this and the install will configure for ssl use.

 

Vger

Vger

 

I didn't have ssl set up when I installed OSC but now do have SSL installed. Do I just need to edit the configure.php files in includes and admin includes?

 

My host has separate folders for http and https which files need to be in which directories? I would like not to have to start from scratch as I've spent some time getting it to the sate its already in.

 

I've scoured the forums and checked posts and replies from others with similar problems but I've come to an impass.

 

Any pointers appreciated.

Link to comment
Share on other sites

Hi, If your hosting company uses one of those stupid and completely unnecessary two-folder systems then you are going to have to duplicate the files you have in httpdocs in httpsdocs - and every time you make a change to anything in httpdocs you will also have to copy it to httpsdocs.

 

To configure your site to use SSL you will have to edit your includes/configure.php file and your admin/includes/configure.php file. You'll need to enable ssl in both of them, and set up your https pathways, cookie domain and cookie pathways. If you are using a shared ssl then leave the cookie domain for https blank, also the cookie pathway for https.

 

Vger

Link to comment
Share on other sites

Hi,  If your hosting company uses one of those stupid and completely unnecessary two-folder systems then you are going to have to duplicate the files you have in httpdocs in httpsdocs - and every time you make a change to anything in httpdocs you will also have to copy it to httpsdocs.

 

To configure your site to use SSL you will have to edit your includes/configure.php file and your admin/includes/configure.php file.  You'll need to enable ssl in both of them, and set up your https pathways, cookie domain and cookie pathways.  If you are using a shared ssl then leave the cookie domain for https blank, also the cookie pathway for https.

 

Vger

 

Thanks for this info. I spoke to the ISP and they've created a link called httpsdocs that links to httpdocs so I've now got just one folder for both http and https. All the previous posts about where to put files make sense now, I wasn't aware that other ISPs didn't do the two folder system!

 

However in trying to get the two folder system to work I've now got other problems such as page not found and the checkout process getting stuck at delivery. see my other threads!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...