Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to use SSL to backup mySQL database?


bitWhittler

Recommended Posts

Posted

How do I setup the admin tool to backup the mySQL database

so that it uses the option to download the database using SSL?

 

During installation SSL connection was selected.

 

admin tool can be seen from both "http" and "https" but

whenever I select a link then the "http" is displayed

(and the lock is gone).

 

I've not been able to find a good post regarding this

and the documentation does not explain what is

needed.

 

Here are the details:

Me: Newbie to osCommerce

osCommerce: 2.2

Host uses 'shared SSL' certificate

 

Any help would be greatly appreciated,

Posted

In admin define for both http and https server as https and set ssl as true.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted
In admin define for both http and https server as https and set ssl as true.

 

Thanks Satish, that's just what I needed. Specifically, I changed the

 

define('HTTP_SERVER', 'http://...');

 

in catalog/admin/includes/configure.php to

 

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

Posted

I did not set the ssl configure at the beginning of my building the cart. I have a SSL cert installed on the site, is it too late to configure this to work with my new ssl? How would I do it?

 

Thanks,

 

AMPED

Posted
I did not set the ssl configure at the beginning of my building the cart. I have a SSL cert installed on the site, is it too late to configure this to work with my new ssl? How would I do it?

 

I'm hardly an expert, but this worked for me on my installation a local Linux box. Check both of these files for lines beginning with "define('HTTPS_" -- in each case there is a "define('HTTP_". Just copy the second part for the http one to the https one.

 

catalog/includes/configure.php

catalog/admin/includes configure.php

 

For example,

define('HTTP_COOKIE_PATH', '/osc/catalog/');

define('HTTPS_COOKIE_PATH', '/osc/catalog/');

 

be sure to replace any "http:" with "https:" in URLS.

 

It worked for me even without a good SSL cert. A warning came up and the lock icon displayed.

Archived

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

×
×
  • Create New...