Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL certificate and shop


Conservativus

Recommended Posts

Hi,

I bought a SSL certificate on my main domain where the shop is installed into. www.domain.de

 

This is shown fine in the browser.

But when the shop is loading the login.php (www.domain.de/login.php) , the browser is telling me, that there's not certificated content shown.

How can I manage this ?

Where do I have to change settings etc. ?

 

thanks

Link to comment
Share on other sites

You need to change the settings in your

catalog / includes / congifure.php

admin / includes / configure.php

 

Nic

 

Hi Nic,

I added it there and it looks like this:

 

define('HTTP_SERVER', 'http://www.domain.de'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.domain.de'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'domain.de');

define('HTTPS_COOKIE_DOMAIN', 'domain.de');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

 

I get it in that moment, when the login.php is opened.

Link to comment
Share on other sites

First, change this line

define('HTTPS_COOKIE_DOMAIN', 'domain.de');

to

define('HTTPS_COOKIE_DOMAIN', '.www.domain.de');

 

If that doesn't fix it, what is the exact error?

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

First, change this line
define('HTTPS_COOKIE_DOMAIN', 'domain.de');

to

define('HTTPS_COOKIE_DOMAIN', '.www.domain.de');

 

If that doesn't fix it, what is the exact error?

 

Jack

 

Hi Jack,

I changed it. Still the old problem.

My browser is telling me, that there're parts loaded, which are not secured. And I get a red exclamation mark at the lock icon at the bottom right on my firefox.

 

My provider told me, it looks like, the shop is loading images etc. (like the login page) over http instead of https.

But he don't know, how to set it up in osCommerce

Link to comment
Share on other sites

The error means that there is a link to an external site that is using http instead of https. You'll need to find that link and change it to http or add code to temporairly disable, which is posted in many places in the forums.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...